[英]Kubectl command is taking lot of time and then throwing this error message
> kubectl get nodes
Unable to connect to the server: dial tcp 44.208.129.187:443: i/o timeout
无法连接到服务器:dial tcp 44.208.129.187:443: i/o timeout
( https://i.stack.imgur.com/M065v.png ) ( https://i.stack.imgur.com/M065v.png )
How do I resolve this?我该如何解决这个问题?
Are you using minikube?你在使用 minikube 吗? You can check your config
kubectl config view
.你可以检查你的配置
kubectl config view
。 You can also check your contexts from the kubeconfig file using kubectl config get-contexts
and validate its set correctly using kubectl config current-context
.您还可以使用
kubectl config get-contexts
从 kubeconfig 文件检查您的上下文,并使用kubectl config current-context
正确验证其设置。
I am new to kubernetes and have been using promptops.com to get my Kubernetes answers: https://www.promptops.com/7aabbd84我是 kubernetes 的新手,一直在使用 promptops.com 来获取我的 Kubernetes 答案: https ://www.promptops.com/7aabbd84
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.