K8s master节点初始化失败报错
K8s master节点初始化失败报错
It seems like the kubelet isn't running or healthy.
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.
swapoff -a
关闭所有交换分区
然后重置kubeadm并重新加载kubelet服务
当前master节点重置kubeadm
kubeadm reset -f
重新加载kubelet服务
systemctl daemon-reload && systemctl restart kubelet
最后重新初始化master节点
原文地址:https://blog.csdn.net/Wangjiachenga/article/details/145203374
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!