Interview Prep/Kubernetes/EKS in Production

How do you debug "Pods unable to pull from ECR" in EKS?

AdvancedProductionEKS in Production
Answer

Look at kubectl describe pod for ErrImagePull: no basic auth credentials (node role lacks ECR permissions), i/o timeout (no route to ECR/S3 endpoints: NAT or VPC endpoints for ecr.api, ecr.dkr, and S3 gateway endpoint), denied (cross-account repo policy), or manifest unknown (wrong tag/arch). Check the node's role and run aws ecr get-login-password from a debug context.

All Kubernetes questions

More on EKS in Production