Upgrade EKS from kubernetes 1.19 to 1.20

I. Upgrade Control plane

i am using this terraform module following GitOps practices, so for me it’s about, replacing 2 attributes :

  • version: 14.0.0 -> 17.1.0 ( version of the terraform module)
  • cluster_versuin: 1.19 -> 1.20

Then, pipeline will do the remaining. I mean: terraform apply -auto-approve

If you are not using Terraform, you still have 3 methods to upgrade the control plane:

II. Upgrade Coredns

check compatibility matrix from here

Then upgrade. For me, it was:

III. Upgrade kube-proxy

check compatibility matrix from here

Then upgrade. For me, it was:

IV. Cluster Autoscaler

You might need to upgrade it

V. Rolling update nodes

install eks-workers-rolling-update :

configure

use it like a BOSS

Go sleep 😴 now! let the script above complete the job

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn