问题描述
我在数字海洋上创建了kubernetes集群,该集群具有1个工作节点和1个主节点.
按照数字海洋指南,我遵循步骤并下载kubernetes集群配置文件
kubectl --kubeconfig="filename.yaml" get nodes
但显示
Unable to connect to the server: unexpected EOF
Kubernetes集群已启动并正在运行
在我的情况下,我在10-11次时间里使用不同的配置和不同的区域等使火簇更加盲目.
离开公司后,我再次通过家庭网络对其进行了尝试,并且第一次效果很好.
SO In my case it was Network provider problem blocking port and connection request
还建议您首先检查网络问题并拥有自己的网络配置
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
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
这篇关于数字海洋Kubernetes集群连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!