Interview Prep/Kubernetes/Upgrades, Backup & Disaster Recovery

How do you upgrade a cluster with zero downtime step by step on EKS?

IntermediateProductionUpgrades, Backup & Disaster Recovery
Answer

(1) Run upgrade insights and fix deprecated APIs. (2) Update the control plane (aws eks update-cluster-version), which takes 20-40 minutes and keeps the API available. (3) Update add-ons (kube-proxy, vpc-cni, coredns, CSI). (4) Roll node groups or let Karpenter drift-replace nodes. (5) Validate workloads, run smoke tests.

aws eks update-cluster-version --name prod --kubernetes-version 1.34
aws eks wait cluster-active --name prod
All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Upgrades, Backup & Disaster Recovery