error: couldn't read version from server

后端 未结 6 2156
旧巷少年郎
旧巷少年郎 2021-02-13 13:12

I am getting the following error when trying to run kubectl locally.

error: couldn\'t read version from server: Get http://localhost:8080/api: dial tc

6条回答
  •  臣服心动
    2021-02-13 13:34

    The above solution no longer works. You need to do the following instead:

    gcloud container clusters get-credentials  \
        [--zone= --project=]
    

提交回复
热议问题