Alireza
08/17/2022, 3:20 PM% kubectl get pods --namespace default
error: You must be logged in to the server (Unauthorized)
eksctl create iamidentitymapping --cluster Flyte-AWS-EKS-Cluster --arn arn:aws:iam::xxxxxxxx:user/Alireza --group system:masters --username ops-user
Error: getting auth ConfigMap: Unauthorized
Shivay Lamba
08/17/2022, 3:24 PMAlireza
08/17/2022, 3:25 PMShivay Lamba
08/17/2022, 3:33 PMkubectl get pods --namespace default
command.
One of issues in the doc, that even I found was that we don't create a user before the creation of the roles and the EKS Cluster, so the iam role for user doesn't have access to the EKS cluster.Alireza
08/17/2022, 3:41 PMShivay Lamba
08/17/2022, 3:48 PM