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

后端 未结 19 1910
北恋
北恋 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:50

    I got this issue when using " Bash on Windows " with azure kubernetes

    az aks get-credentials -n -g 
    

    The config file is autogenerated and placed in '~/.kube/config' file as per OS (which is windows in my case)

    To solve this - Run from Bash commandline cp ~/.kube/config

提交回复
热议问题