kubeadm 加入work 节点集群时报 http://localhost:10248/healthz处理方法

发布时间 2023-10-18 13:18:36作者: MhaiM

现象:

[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused.
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect: connection refused

原因:NetworkManager网络插件管理关闭了

解决方案:

#开启服务,再加入集群,加入成功后,再关闭即可

systemctl start NetworkManager