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

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

    I had same error, this worked for me. Run

    minikube status

    if the response is

    type: Control Plane
    host: Stopped
    kubelet: Stopped
    apiserver: Stopped
    kubeconfig: Stopped
    

    run minikube start

    type: Control Plane
    host: Running
    kubelet: Running
    apiserver: Running
    kubeconfig: Configured
    

    You can proceed

提交回复
热议问题