From fd5090d3ac7183838ba237b1a7261e97595640f1 Mon Sep 17 00:00:00 2001 From: Amanuel Engeda Date: Thu, 14 Sep 2023 14:09:06 -0700 Subject: [PATCH] Warm ENI --- .github/actions/e2e/create-cluster/action.yaml | 3 +++ test/cloudformation/iam_cloudformation.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/actions/e2e/create-cluster/action.yaml b/.github/actions/e2e/create-cluster/action.yaml index d1ac729f6bd1..4682fa8d2363 100644 --- a/.github/actions/e2e/create-cluster/action.yaml +++ b/.github/actions/e2e/create-cluster/action.yaml @@ -115,7 +115,10 @@ runs: withOIDC: true addons: - name: vpc-cni + version: 1.15.0 permissionsBoundary: "arn:aws:iam::${{ inputs.account_id }}:policy/GithubActionsPermissionsBoundary" + configurationValues: |- + {"env":{"WARM_ENI_TARGET":"30"}} - name: coredns permissionsBoundary: "arn:aws:iam::${{ inputs.account_id }}:policy/GithubActionsPermissionsBoundary" - name: kube-proxy diff --git a/test/cloudformation/iam_cloudformation.yaml b/test/cloudformation/iam_cloudformation.yaml index 90f2192c4a4b..e588f72c84ae 100644 --- a/test/cloudformation/iam_cloudformation.yaml +++ b/test/cloudformation/iam_cloudformation.yaml @@ -157,6 +157,7 @@ Resources: Action: - eks:DeleteAddon - eks:DescribeAddon + - eks:DescribeAddonVersions Resource: - !Sub "arn:${AWS::Partition}:eks:*:${AWS::AccountId}:addon/*" Condition: @@ -466,6 +467,7 @@ Resources: - pricing:GetProducts - ec2:DescribeSpotPriceHistory - eks:DescribeCluster + - eks:DescribeAddonVersions Resource: "*" - Effect: Allow Action: iam:PassRole