-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: You must be logged in to the server (Unauthorized) #179
Comments
Kubeconfig
|
I have also tried using the same aws keys and kubeconfig from my own laptop - which works on my laptop , on circleci. they fail with error
The same error as here - is there any more info on this? #157 I also added the user to the aws-Auth config. |
can you confirm that the AWS profile "circleci" has the latest/valid login credentials saved (in .aws/credentials)? you might want to pull the kubeconfig from EKS directly (
hope this helps. |
I could not solve this issue by creating a cluster on AWS EKS GUI. I tried eksctl to create a cluster and it worked. |
need help asap - trying to replace prod cluster - cannot connect to cluster via circleci (user circleci)
verified aws-iam-authenticatior is working
kubectl can change context to cluster
ran
kubectl edit -n kube-system configmap/aws-auth
and added user to listran
kubectl create clusterrolebinding circleci-cluster-admin-binding --clusterrole=cluster-admin --user=circlci
for usertest with
I can connect to cluster from my box, where i made it from. i have referred with no luck to
https://stackoverflow.com/questions/50791303/kubectl-error-you-must-be-logged-in-to-the-server-unauthorized-when-accessing?rq=1
#105
The text was updated successfully, but these errors were encountered: