Interview Prep/Kubernetes/EKS and cluster operations

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 →

  1. Use EKS access entries: aws eks create-access-entry --cluster-name prod --principal-arn <role-arn>
  2. Associate an access policy such as AmazonEKSViewPolicy with scope namespace or cluster
  3. Or map to a Kubernetes group and use RBAC
  4. Test with aws eks update-kubeconfig then kubectl auth whoami
  5. 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.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on EKS and cluster operations