did you specify the right host or port? error on Kubernetes

后端 未结 19 1903
北恋
北恋 2020-12-13 12:12

I have followed the helloword tutorial on http://kubernetes.io/docs/hellonode/.

When I run:

kubectl run hello-node --image=gcr.io/PROJECT_ID/hello-node         


        
19条回答
  •  孤城傲影
    2020-12-13 12:45

    I had the same issue after a reboot, I followed the guide described here

    So try the following:

    $ sudo -i
    # swapoff -a
    # exit
    $ strace -eopenat kubectl version
    

    After that it works fine.

提交回复
热议问题