Your current user or role does not have access to Kubernetes objects on this EKS cluster

From wikieduonline
Jump to navigation Jump to search
Your current user or role does not have access to Kubernetes objects on this EKS cluster

Solution: add your user (userarn) into aws-auth ConfigMap, you can use manage_aws_auth_configmap and aws_auth_users if using Terraform EKS module


This may be due to the current user or role not having Kubernetes RBAC permissions to describe cluster resources or not having an entry in the cluster’s auth config map. Learn more

Read: https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting_iam.html#security-iam-troubleshoot-cannot-view-nodes-or-workloads

1) eks:AccessKubernetesApi
2) aws-auth 
3) rolebinding


Related[edit]

See also[edit]

Advertising: