Amazon EKS
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Amazon VPC CNI Plugin for Kubernetes Upgrades

When you launch an Amazon EKS cluster, we apply a recent version of the Amazon VPC CNI plugin for Kubernetes to your cluster (the absolute latest version of the plugin is available on GitHub for a short grace period before new clusters are switched over to use it). However, Amazon EKS does not automatically upgrade the CNI plugin on your cluster when new versions are released. You must upgrade the CNI plugin manually to get the latest version on existing clusters.

The latest CNI version available on GitHub is 1.5.4. You can view the different releases available for the plugin, and read the release notes for each version on GitHub.

Use the following procedures to check your CNI version and upgrade to the latest version.

To check your Amazon VPC CNI Plugin for Kubernetes version

  • Use the following command to print your cluster's CNI version:

    kubectl describe daemonset aws-node --namespace kube-system | grep Image | cut -d "/" -f 2

    Output:

    amazon-k8s-cni:1.5.3

    In this example output, the CNI version is 1.5.3, which is earlier than the current version, 1.5.4. Use the following procedure to upgrade the CNI.

To upgrade the Amazon VPC CNI Plugin for Kubernetes

  • Use the following command to upgrade your CNI version to the latest version:

    • For Kubernetes 1.10 clusters:

      kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.5/config/v1.5/aws-k8s-cni-1.10.yaml
    • For all other Kubernetes versions:

      kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.5/config/v1.5/aws-k8s-cni.yaml