Interview Prep/Kubernetes/EKS-specific issues

After upgrading EKS from 1.31 to 1.32, some Pods cannot resolve DNS and others cannot reach Services, while new nodes look healthy.

AdvancedTroubleshootingEKS-specific issues
Answer

Likely causes → The control plane was upgraded but the core add-ons (VPC CNI, CoreDNS, kube-proxy) and older node groups were not. A kube-proxy or CoreDNS version too old for the new control plane, or self-managed add-ons with custom config that an add-on update overwrote, gives partial breakage.

Diagnose →

aws eks describe-addon-versions --kubernetes-version 1.32 --addon-name kube-proxy --query 'addons[].addonVersions[0].addonVersion'
aws eks list-addons --cluster-name prod
aws eks describe-addon --cluster-name prod --addon-name coredns --query 'addon.[addonVersion,status]'
kubectl get ds kube-proxy aws-node -n kube-system -o jsonpath='{range .items[*]}{.metadata.name}{" "}{.spec.template.spec.containers[0].image}{"\n"}{end}'
kubectl get nodes -o custom-columns=NAME:.metadata.name,VER:.status.nodeInfo.kubeletVersion

Fix → Update the add-ons to the recommended versions for 1.32 (aws eks update-addon ... --resolve-conflicts PRESERVE to keep custom config), then roll node groups to the new AMI.

Prevent → Upgrade checklist: EKS upgrade insights, control plane, add-ons, then nodes; all in one change window, tested in staging.

All Kubernetes questions

More on EKS-specific issues