kubeadm init 运行时kebelet启动失败问题

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

最近在部署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'<
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值