Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🥳 aws-vpc-cni v1.9.0 Automated Release! 🥑 #563

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

eks-bot
Copy link
Collaborator

@eks-bot eks-bot commented Jul 26, 2021

aws-vpc-cni v1.9.0 Automated Chart Sync! 🤖🤖

Release Notes 📝:

v1.9.0

The CNI v1.9.0 release is a major release which will support higher pod density per node and also reduced the number of EC2 calls to create and attach more ENIs by leveraging the recent EC2 feature - Assigning prefixes to Amazon EC2 network interfaces. This feature is only supported on "nitro" based instances. Each secondary IP will be replaced by a (/28) prefix and IPAMD will derive a (/32) IP from these prefixes for pod IP allocation. Number of prefixes which can be attached to the ENI is still limited by the IP addresses per network interface per instance type for instance a t3.medium can have 5 (/28)prefixes per ENI. Since the number of pods per node will increase, make sure the max pods are adjusted appropriately and keep in mind CPU and memory constraints will limit the number of pods that be deployed on a node. To help with the max pods computation we have added this helper script.

To enable the feature, set ENABLE_PREFIX_DELEGATION to true. This environment variable can be set to true or false while pods are running but kubelet maxPods has to manually changed.

kubectl set env daemonset aws-node -n kube-system ENABLE_PREFIX_DELEGATION=true

With this feature we support WARM_PREFIX_TARGET and IPAMD will keep a free prefix in warm pool. We also support WARM_IP_TARGET and MINIMUM_IP_TARGET and IPAMD will allocate a new prefix if the existing prefixes are not sufficient to maintain the warm pool. This document talks about how these 3 warm targets impact the number of IPs available in the warm pool.

Since the IPs with this feature will be allocated from the prefixes, we won't be able to support downgrades. Also WARM_ENI_TARGET won't be supported with ENABLE_PREFIX_DELEGATION set to true.

Changes since v1.8.0:

To apply this release:

kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/v1.9.0/config/v1.9/aws-k8s-cni.yaml

Verify the update:

$ kubectl describe daemonset aws-node -n kube-system | grep Image | cut -d "/" -f 2                                                   
amazon-k8s-cni-init:v1.9.0
amazon-k8s-cni:v1.9.0

@eks-bot eks-bot requested a review from jayanthvn as a code owner July 26, 2021 18:15
@jayanthvn jayanthvn merged commit 2524597 into aws:master Jul 26, 2021
@morganchristiansson
Copy link

morganchristiansson commented Jul 27, 2021

@jayanthvn @eks-bot the new chart is still not published.

Should be on https://github.com/aws/eks-charts/tree/gh-pages ? i.e. https://aws.github.io/eks-charts/index.yaml doesn't include latest chart release.

$ helm repo update
<snip>
$ helm search repo eks/aws-vpc-cni
NAME            CHART VERSION   APP VERSION     DESCRIPTION                     
eks/aws-vpc-cni 1.1.7           v1.8.0          A Helm chart for the AWS VPC CNI

edit: opened issue #564

@stevehipwell
Copy link

@jayanthvn how come an aws-vpc-cni release that adds significant new functionality is only seen as a chart patch?

@jayanthvn
Copy link
Contributor

Sorry about this, we are working on the release and should be out soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants