kubectl error You must be logged in to the server (Unauthorized) when accessing EKS cluster

后端 未结 12 543
别那么骄傲
别那么骄傲 2020-12-12 22:33

I have been trying to follow the getting started guide to EKS. When I tried to call kubectl get service I got the message: error: You must be logged in to the server (Unaut

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 23:23

    Also, make sure your users are in the aws-auth k8s ConfigMap:

    https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html

提交回复
热议问题