首页 > 其他分享 >k8s集群不可用:The connection to the server 192.168.117.161:6443 was refused - did you specify the right h

k8s集群不可用:The connection to the server 192.168.117.161:6443 was refused - did you specify the right h

时间:2022-08-15 18:22:28浏览次数:89  
标签:status right 查看 did kubelet systemctl 6443 k8s specify

虚拟机非正常关机后,k8s集群不可用

获取节点,报如下错,kubectl get node

 

查看env:env | grep -i kubernetes

 

查看docker状态:systemctl status docker

 

查看kubelet状态:systemctl status kubelet

 

查看监听端口:netstat -pnlt | grep 6443

如果监听端口不在,可以看下防火墙:systemctl status firewalld

 

查看日志:journalctl -xeu kubelet

 

网上搜索了一圈,也没解决(有没有遇到类似问题的小伙伴?),只能reset,参考:https://www.cnblogs.com/uncleyong/p/15789144.html

 

标签:status,right,查看,did,kubelet,systemctl,6443,k8s,specify
From: https://www.cnblogs.com/uncleyong/p/16585956.html

相关文章