采纳答案成功!
向帮助你的同学说点啥吧!感谢那些助人为乐的人
systemctl start kubelet systemctl enable kubelet
kubelet服务启动失败
journalctl -xefu kubelet
![![
之前安装的kubelet kubeadm kubectl信息如下:
以下操作均已实施:
请问如何处理这个问题
安装1.19.3吧,1.24课程还不支持
那docker的版本必须要docker-ce-19.03.11?目前我装的docker为Docker version 20.10.17, build 100c701
嗯,需要降低版本
卸载docker-ce、kubelet、kubeadm、kubectl,重装后 yum install docker-ce-19.03.11 -y yum install -y kubelet-1.19.3 kubeadm-1.19.3 kubectl-1.19.3 ...... systemctl enable kubelet && systemctl start kubelet systemctl status kubelet 显示 ● kubelet.service - kubelet: The Kubernetes Node Agent Loaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/kubelet.service.d └─10-kubeadm.conf Active: activating (auto-restart) (Result: exit-code) since 三 2022-07-06 18:13:59 CST; 4s ago Docs: https://kubernetes.io/docs/ Process: 15653 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=255) Main PID: 15653 (code=exited, status=255) 7月 06 18:13:59 localhost.localdomain systemd[1]: kubelet.service: main process exited, code=exited, status=255/n/a 7月 06 18:13:59 localhost.localdomain systemd[1]: Unit kubelet.service entered failed state. 7月 06 18:13:59 localhost.localdomain systemd[1]: kubelet.service failed. kubelet启动还是有问题 就是status从“1/FAILURE”变成了“255”
登录后可查看更多问答,登录/注册
阿里云最有价值专家亲授,云原生时代必备技能
1.3k 5
1.1k 5
1.1k 2
1.2k 30
1.4k 24
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号