首页 新闻 会员 周边 捐助

kubernete node 加入集群失败:"It seems like the kubelet isn't running or healthy"

0
悬赏园豆:30 [已解决问题] 解决于 2021-12-27 22:49

一台新服务器用 kubeadm join 命令加入集群时出现下面的错误:

[kubelet-check] Initial timeout of 40s passed.
[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 [::1]:10248: connect: connection refused.

请问如何解决?

k8s
dudu的主页 dudu | 高人七级 | 园豆:30778
提问于:2021-12-27 22:07
< >
分享
最佳答案
1

通过 github 上 v1.14.0 problem : It seems like the kubelet isn't running or healthy回复中的方法解决了。

在 /etc/docker/daemon.json 中添加

{
  "exec-opts": ["native.cgroupdriver=systemd"]
}
dudu | 高人七级 |园豆:30778 | 2021-12-27 22:49
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册