3
我下面就kubernetes.iokubectl运行命令与连接失败拒绝错误
http://kubernetes.io/docs/hellonode/
尝试做“制作荚”部分时,我得到一个错误的hellonode教程。
当我运行此命令(我创建了一个替换PROJECT_ID)我得到以下几点:
$ kubectl run hello-node --image=gcr.io/PROJECT_ID/hello-node:v1 --port=8080
The connection to the server localhost:8080 was refused - did you specify the right host or port?
,我收到了类似的错误只是打字kubectl版本:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.2", GitCommit:"528f879e7d3790ea4287687ef0ab3f2a01cc2718", GitTreeState:"clean"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?
我不知道该怎么做,因为除了遵循本教程的步骤外,我对kubernetes没有任何经验。
嗨,我有同样的问题,但解决不了它遵循这一点。它仍然给出同样的错误。与服务器localhost:8080的连接被拒绝 - 您是否指定了正确的主机或端口?这是否会有其他原因? –