kubeasz问题-FAILED - RETRYING: 轮询等待node达到Ready状态

wuchangjian2021-11-14 16:51:53编程学习

在这里插入图片描述

TASK [kube-node : 轮询等待kubelet启动] ************************************************************************************************************************************
changed: [10.10.99.21]
FAILED - RETRYING: 轮询等待kubelet启动 (2 retries left).
FAILED - RETRYING: 轮询等待kubelet启动 (1 retries left).
fatal: [10.10.99.22]: FAILED! => {"attempts": 4, "changed": true, "cmd": "systemctl is-active kubelet.service", "delta": "0:00:00.008494", "end": "2021-11-14 16:21:34.478915", "msg": "non-zero return code", "rc": 3, "start": "2021-11-14 16:21:34.470421", "stderr": "", "stderr_lines": [], "stdout": "activating", "stdout_lines": ["activating"]}
FAILED - RETRYING: 轮询等待node达到Ready状态 (8 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (7 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (6 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (5 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (4 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (3 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (2 retries left).
FAILED - RETRYING: 轮询等待node达到Ready状态 (1 retries left).

TASK [kube-node : 轮询等待node达到Ready状态] ******************************************************************************************************************************
fatal: [10.10.99.21]: FAILED! => {"attempts": 8, "changed": true, "cmd": "/usr/bin//kubectl get node 10.10.99.21|awk 'NR>1{print $2}'", "delta": "0:00:00.121922", "end": "2021-11-14 16:22:41.874457", "msg": "", "rc": 0, "start": "2021-11-14 16:22:41.752535", "stderr": "Error from server (NotFound): nodes \"10.10.99.21\" not found", "stderr_lines": ["Error from server (NotFound): nodes \"10.10.99.21\" not found"], "stdout": "", "stdout_lines": []}

PLAY RECAP ****************************************************************************************************************************************************************
10.10.99.21                : ok=53   changed=28   unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   
10.10.99.22                : ok=49   changed=25   unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

在这里插入图片描述

Nov 14 16:24:23 master1 kubelet[10140]: F1114 16:24:23.991149   10140 server.go:269] failed to run Kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs"

解决:
docker中将资源管理驱动设置统一

 "exec-opts": ["native.cgroupdriver=systemd"]

相关文章

湖南高职专科批(普通类)第一次征集志愿投档分数线公布

湖南高职专科批(普通类)第一次征集志愿投档分数线公布

2022-08-18 19:07:49 据湖南省教育考试院8月18日消...

linux - PySpark速度Ubuntu vs Windows

我有一个PySpark的示例作业,它是PageRank算法的一个...

长沙24小时:如何假装外地游客在长沙打卡一天?

长沙24小时:如何假装外地游客在长沙打卡一天?

2022-08-11 19:02:47 这个夏天,总要来趟长沙吧 !今...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。