Unable to connect to the server: dial tcp i/o time out

前端 未结 10 1436
死守一世寂寞
死守一世寂寞 2021-02-06 21:52

When i run the kubectl version command , I get the following error message.

kubectl version
Client Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v         


        
10条回答
  •  梦谈多话
    2021-02-06 22:23

    If you use minikube then you should run, kubectl config use-context minikube If you use latest docker for desktop that comes with kubernetes then you should run, kubectl config use-context docker-for-desktop

提交回复
热议问题