Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.26 KB

File metadata and controls

62 lines (40 loc) · 2.26 KB

EKS Upgrade Documentation

Objective:

The purpose of this document is to provide an overview of the steps for upgrading the EKS Cluster from one version to another. Please note that EKS upgrade documentation gets published by AWS every year.

The current version of the upgrade documentation while writing this README

Pre-Requisites:

1. Download the latest upgrade docs from AWS sites (https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html)
2. Always upgrade one increment at a time (E.g., 1.17 to 1.18). AWS doesn't support upgrades from 1.16 to 1.18 directly

This table shows the supported plugin versions for each EKS Kubernetes version

Kubernetes version 1.19 1.18 1.17 1.16 1.15 1.14
Amazon VPC CNI plugin 1.7.5 1.7.5 1.7.5 1.7.5 1.7.5 1.7.5
DNS (CoreDNS) 1.8.0 1.7.0 1.6.6 1.6.6 1.6.6 1.6.6
KubeProxy 1.19.6 1.18.9 1.17.12 1.16.15 1.15.12 1.14.9

Steps to upgrade EKS cluster:

  1. Change the version in Terraform to desired version under base.tfvars. See the example below

    kubernetes_version      = "1.20"
    
  2. Apply the changes to the cluster with Terraform. This step will upgrade the Control Plane and Data Plane to the newer version, and it will roughly take 35 mins to 1 hour

  3. Once the Cluster is upgraded to desired version then please updated the following plugins as per the instructions

Steps to upgrade Add-ons:

Just update the latest versions in base.tfvars file as shown below. EKS Addon latest versions can be found in AWS EKS Console under Addon section or from AWS documentation.

KubeProxy
enable_kube_proxy_addon  = true
kube_proxy_addon_version = "v1.20.4-eksbuild.2"
CoreDNS
enable_coredns_addon  = true
coredns_addon_version = "v1.8.3-eksbuild.1"
VPC CNI
enable_vpc_cni_addon  = true
vpc_cni_addon_version = "v1.8.0-eksbuild.1"

Apply the changes to the cluster with Terraform.

Important Note

Please note that you may need to update other Kubernetes Addons deployed through Helm Charts to match with new Kubernetes upgrade version