Getting error “An error occurred (AccessDenied) when calling the AssumeRole operation: Access denied” after setting up EKS cluster
问题 I have created the EKS cluster using AWS console, while creating a cluster I used my pre-created VPCs and subnets, I have created one role eks-role which has AmazonEKSClusterPolicy and AmazonEKSServicePolicy attached to it. I have added the kubeconfig file using: aws eks update-kubeconfig --name eks-cluster --role-arn "arn:aws:iam::############:role/eks-role" When I use kubectl get svc command I get the error as: An error occurred (AccessDenied) when calling the AssumeRole operation: Access