www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  2912 随笔 :: 9 文章 :: 51 评论 :: 185万 阅读

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'

Additionally, a control plane component may have crashed or exited when started by the container runtime.
To troubleshoot, list all containers using your preferred container runtimes CLI.
Here is one example how you may list all running Kubernetes containers by using crictl:
- 'crictl --runtime-endpoint unix:///var/run/cri-dockerd.sock ps -a | grep kube | grep -v pause'
Once you have found the failing container, you can inspect its logs with:
- 'crictl --runtime-endpoint unix:///var/run/cri-dockerd.sock logs CONTAINERID'

root@k8s-master:~# find / -name cri-dockerd.sock
/run/cri-dockerd.sock

 

apt install kubeadm=1.22.4-00 kubelet=1.22.4-00 kubectl=1.22.4-00

apt install kubeadm=1.23.15-00 kubelet=1.23.15-00 kubectl=1.23.15-00

模糊查询 kube 相关的包

[root@ubuntu ~]# apt list *kube*

查询 kubeadm 的所有版本,kubelet 、kubectl一样

[root@ubuntu ~]# apt list kubeadm -a

安装1.22.4 的kubeadm、kubectl、kubelet

[root@ubuntu ~]# apt install kubeadm=1.22.4-00 kubelet=1.22.4-00 kubectl=1.22.4-00 -y

posted on   秦瑞It行程实录  阅读(184)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
历史上的今天:
2019-12-12 openSTack备份恢复
2019-12-12 qemu-img convert -c disk /var/lib/nova/instances/_base/94a107318b54108fc8e76fff21a86d7c390a20bf -O qcow2 hebin.qcow2
2019-12-12 linux系统备份恢复到本机或是别的机器上
2019-12-12 openstack
2019-12-12 openstackx
2017-12-12 C++函数及参数
2016-12-12 云会议
www.cnblogs.com/ruiyqinrui
点击右上角即可分享
微信分享提示