【问题标题】:Kubectl command is taking lot of time and then throwing this error messageKubectl 命令花费大量时间然后抛出此错误消息
【发布时间】:2022-12-15 04:49:45
【问题描述】:
> kubectl get nodes

无法连接到服务器:dial tcp 44.208.129.187:443: i/o timeout

(https://i.stack.imgur.com/M065v.png)

我该如何解决这个问题?

【问题讨论】:

    标签: amazon-ec2 kubectl


    【解决方案1】:

    你在使用 minikube 吗?您可以检查您的配置 kubectl config view 。您还可以使用 kubectl config get-contexts 从 kubeconfig 文件中检查您的上下文,并使用 kubectl config current-context 正确验证其设置。

    我是 kubernetes 的新手,一直在使用 promptops.com 来获取我的 Kubernetes 答案:https://www.promptops.com/7aabbd84

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-01-26
      • 1970-01-01
      • 2016-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多