-
Resolving EKS error You must be logged in…
Resolving EKS error: You must be logged in to the server (Unauthorized) when calling kubectl: Does “aws sts get-caller-identity” return the proper account and user ARN for a user that should have access? Maybe you need to refresh kubeconfig? “aws eks update-kubeconfig –name EKS_CLUSTER_NAME –region EKS_CLUSTER_AWS_REGION” https://aws.amazon.com/premiumsupport/knowledge-center/eks-api-server-unauthorized-error/
-
kubectl and eks… You must be logged in to the server (Unauthorized)
Say you have a setup with EKS using IAM API keys with Admin permissions and are using an AWS profile that you’ve confirmed can retrieve the eks config with aws eks update-kubeconfig –name context-name –region appropriate-region-name-n. But then kubectl get pods –context context-name still fails, oddly with a “You must be logged in to the…