How do you give a new engineer access to an EKS cluster?
IntermediateScenarioEKS and cluster operations
Answer
Situation read → Old method used the aws-auth ConfigMap.
What I'd do →
- Use EKS access entries:
aws eks create-access-entry --cluster-name prod --principal-arn <role-arn> - Associate an access policy such as
AmazonEKSViewPolicywith scope namespace or cluster - Or map to a Kubernetes group and use RBAC
- Test with
aws eks update-kubeconfigthenkubectl auth whoami - Remove the ConfigMap path over time
Why → Access entries are API-managed and avoid lockouts caused by editing aws-auth.
Interview tip → Mention the aws-auth lockout risk.
More on EKS and cluster operations
How do you create a production-ready EKS cluster and what do you decide up front?BeginnerPods on EKS run out of IP addresses. What happened and how do you fix it?IntermediateCompare managed node groups, self-managed nodes, Fargate and Karpenter.IntermediateHow do you upgrade an EKS cluster from 1.31 to 1.32 with minimal risk?AdvancedA node group upgrade is slow or stuck on EKS. What do you look at?IntermediateHow do you connect to a node for debugging without SSH?Beginner