Digital ocean kubernetes cluster connection error

早过忘川 提交于 2019-12-31 05:07:57

问题


I have created kubernetes cluster on digital ocean having 1 worker node and one master node.

As per digital ocean guide line i followed step and download kubernetes cluster config file

kubectl --kubeconfig="filename.yaml" get nodes

but it is showing

Unable to connect to the server: unexpected EOF

While Kubernetes cluster is Up and Running


回答1:


Please make sure you are using right config yaml file otherwise try to destroy and create fresh Kubernetes cluster on Digital Ocean and try again. It should work properly




回答2:


In my case i have blinding fire cluster more thn 10-11 time with different configuration and in different region etc.

after leaving company place i again tried it from home network and in first time it's work so well.

SO In my case it was Network provider problem blocking port and connection request

Also suggest you to check network issue first and own network configuration



来源:https://stackoverflow.com/questions/54090438/digital-ocean-kubernetes-cluster-connection-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!