After someone edited `aws-auth`, all nodes went `NotReady` and nobody except the cluster creator can use kubectl.
AdvancedTroubleshootingEKS-specific issues
Answer
Likely causes → The ConfigMap was broken: invalid YAML, the node role mapping (system:bootstrappers, system:nodes) removed or overwritten by a tool that rewrote the whole map. Nodes can no longer authenticate.
Diagnose →
kubectl get cm aws-auth -n kube-system -o yaml # as the cluster creator or via access entry admin
kubectl get nodes
Fix → Restore the node role mapping:
mapRoles: |
- rolearn: arn:aws:iam::111122223333:role/eks-node-role
username: system:node:{{EC2PrivateDNSName}}
groups: [system:bootstrappers, system:nodes]
If no one can authenticate, use the cluster creator identity or create an access entry through the EKS API (works independently of aws-auth when the auth mode is API_AND_CONFIG_MAP).
Prevent → Migrate to access entries; managed node groups get their access entries automatically. Never edit aws-auth by hand.
More on EKS-specific issues
A new engineer gets `error: You must be logged in to the server (Unauthorized)` on EKS even though their IAM role is in `aws-auth`.IntermediateA managed node group fails with `NodeCreationFailure: Instances failed to join the kubernetes cluster`.IntermediatePods are stuck in ContainerCreating and the aws-node logs show `InsufficientFreeAddressesInSubnet` / `failed to assign an IP address to container`.AdvancedAfter enabling prefix delegation (`ENABLE_PREFIX_DELEGATION=true`), nodes still cap at 29 Pods.IntermediatePods on EKS fail to pull from ECR with `failed to resolve reference ... 401 Unauthorized` or `no basic auth credentials`.IntermediateAn app using IRSA fails with `AccessDenied: Not authorized to perform sts:AssumeRoleWithWebIdentity`.Advanced