最近在部署kebeedge,需要先在云服上部署k8s,期间通过
kubeadm init --config的方式进行master的部署,记录一下遇到的kubelet相关的错误
在通过kubeadm init --config启动master时遇到如下报错提示:
Unfortunately, an error has occurred:
timed out waiting for the condition
This error is likely caused by:
- The kubelet is not running
- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)
If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
- 'systemctl status kubelet'
- 'journalctl -xeu kubelet'<

在部署kebeedge过程中,遇到了kubeadm初始化master节点时kubelet报错的问题。错误信息提示:timed out waiting for the condition。解决方案是在kubeadm-init.yaml配置文件中添加kubernetesVersion、networking配置,并将cgroupDriver设为cgroupfs,然后执行kubeadm reset和kubeadm init。这通常是因为kubelet未运行或配置不正确导致的。通过检查kubelet状态和日志,以及查看容器运行状况,可以进一步排查问题。
最低0.47元/天 解锁文章
46

被折叠的 条评论
为什么被折叠?



