kubeadm搭建的集群正常运行一段时间出现的问题:The connetion to the server 10.20.2.20:6443 was refsed -did you specify ..

Kubeadm搭建的集群正常运行一段时间出现问题:

The connetion to the server 10.20.2.20:6443 was refsed -did you specify the right host or port?

kubeadm搭建的集群正常运行一段时间出现的问题:The connetion to the server 10.20.2.20:6443 was refsed -did you specify ..

查看日志:

journalctl -f -u kubelet.service

kubeadm搭建的集群正常运行一段时间出现的问题:The connetion to the server 10.20.2.20:6443 was refsed -did you specify ..

其实,我也没有好的办法:

我就吧kubectl 和docker都重启下

systemctl restart kubelet
systemctl restart docker

之前也遇到类似的问题,都是没有好的办法,都是重新安装。

重新启动后:

kubeadm搭建的集群正常运行一段时间出现的问题:The connetion to the server 10.20.2.20:6443 was refsed -did you specify ..