Harsh Manvar
Harsh Manvar

Reputation: 30160

Digital ocean kubernetes cluster connection error

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

Upvotes: 0

Views: 991

Answers (2)

Harsh Manvar
Harsh Manvar

Reputation: 30160

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

Upvotes: 1

clxoid
clxoid

Reputation: 2795

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

Upvotes: 1

Related Questions