error: You must be logged in to the server (the server has asked for the client to provide credentials)

喜欢而已 提交于 2019-12-25 09:18:30

问题


I am getting this error while running the command "kubectl cluster-info" I am trying this on a google instance and have installed gcloud sdk as well as kubectl on my instance. I have tried running this command I found in a solution earlier:- "sudo sed -i -e 's/true/false/' /usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/config.json" and "gcloud container clusters get-credentials [cluster-name]" still no luck.

Please help

来源:https://stackoverflow.com/questions/44457609/error-you-must-be-logged-in-to-the-server-the-server-has-asked-for-the-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!