简体   繁体   English

Kubectl 命令花费大量时间然后抛出此错误消息

[英]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.

相关问题 使用kubectl proxy命令直接访问app - Using Kubectl proxy command to access app directly Kubectl apply 命令用于更新现有服务资源 - Kubectl apply command for updating existing service resource 集群模式下的 Redis `TIME` 命令 - Redis `TIME` Command in Cluster Mode 在 Windows 上安装 Kubectl 插件 - Install Kubectl Plugin on Windows Airflow 中 BigQueryInsertJobOperator 中的变量传递抛出错误 - Variable passing throwing error in BigQueryInsertJobOperator in Airflow 创建表#name; 抛出语法错误 - Create table #name; is throwing a syntax error Packer 在 Gitlab-CI 上失败并显示 {message:401 Unauthorized}: command not found - Packer fails on Gitlab-CI with {message:401 Unauthorized}: command not found Terraform kubectl 提供程序错误:未能创建 kubernetes rest 客户端以读取资源 - Terraform kubectl provider error: failed to created kubernetes rest client for read of resource Cognito jwt 令牌验证抛出 400 错误 - Cognito jwt token validation throwing 400 error Django - 安排时间 WhatsApp 消息通过 Twilio 发送 - Django - schedule time WhatsApp message send through Twilio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM