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

后端 未结 12 561
别那么骄傲
别那么骄傲 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:19

    I just debugged this issue. I have a question. Are you running this on a corporate wifi network? If yes, could you create an EC2 instance and then test if you are able to do kubectl get svc?

    Also, try if this command works kubectl get svc --insecure-skip-tls-verify

提交回复
热议问题