Interview Prep/AWS/ECS, EKS, ECR and Lambda

An EKS cluster upgrade to the next minor version is blocked, or workloads break right after it.

AdvancedTroubleshootingECS, EKS, ECR and Lambda
Answer

Likely causes → Manifests or Helm charts still use removed APIs. Add-ons (VPC CNI, CoreDNS, kube-proxy, EBS CSI) are at versions that do not support the new Kubernetes version. Or nodes are more than the allowed skew behind the control plane.

Diagnose →

aws eks list-insights --cluster-name prod --filter kubernetesVersions=1.33
aws eks describe-insight --cluster-name prod --id <insight-id>
aws eks describe-addon-versions --addon-name vpc-cni --kubernetes-version 1.33 \
  --query 'addons[].addonVersions[].addonVersion' --output text | head
kubectl get --raw /metrics | grep apiserver_requested_deprecated_apis

Fix →

  1. Migrate manifests (kubectl-convert, pluto detect-helm)
  2. Upgrade the add-ons to compatible versions before the control plane, then upgrade the control plane, then the nodes
  3. Update PDBs so node drains can finish

Prevent → Upgrade one minor version at a time, every quarter, rehearsed on a staging cluster. Track EKS upgrade insights in CI.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on ECS, EKS, ECR and Lambda