0

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

Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102

2 Answers2

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

clxoid
  • 2,577
  • 12
  • 21
1

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

Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102
  • 1
    I had the same issue ... disconnected from company network and used my mobile tethering ... and it worked perfectly .. – Muzaffar Omer Jan 23 '19 at 06:54
  • i think digital ocean system is not mature that much still some time it work or some time not work – Harsh Manvar Jan 23 '19 at 06:59
  • @HarshManvar Can you please take a look at the following question:https://stackoverflow.com/q/66858780/9409877 – HKS Mar 30 '21 at 09:23