Upgrade an EKS cluster from 1.30 to 1.31 in production. What's your process?
IntermediateScenarioMigrations
Answer
Situation read → Control plane upgrades are one minor version at a time and can't be rolled back. Preparation is everything.
What I'd do →
- Read the Kubernetes and EKS release notes for removed APIs. Scan manifests and live objects:
pluto detect-helm -o wide
kubent
- Check add-on compatibility: VPC CNI, CoreDNS, kube-proxy, the Load Balancer Controller, Karpenter, ingress, cert-manager.
- Upgrade staging first and run the full test suite.
- Upgrade the control plane (Terraform version bump or
aws eks update-cluster-version), then managed add-ons, then nodes: new node groups or Karpenter drift replaces nodes, respecting PDBs. - Watch for pods stuck on drains because of strict PDBs.
Why → Control plane rollback is impossible, so removed-API detection must happen before, not after.
Interview tip → "You can't downgrade the control plane" is the key fact.
More on Migrations
Migrate an application from EC2 to EKS with zero downtime. Walk me through it.AdvancedMigrate a database from on-prem MySQL to Amazon RDS with minimal downtime. How?AdvancedYou need to move Terraform state from local files to an S3 backend. How?BeginnerMigrate CI from Jenkins to GitHub Actions for 80 repositories. How do you plan it?IntermediateMove from a monolith to microservices. What's the DevOps side of the migration?AdvancedMigrate secrets from environment variables in a Git repo to AWS Secrets Manager. How?Beginner