Skip to content

centos7.9最小化系统安装的环境,使用allinone部署后,kubelet无法启动 #1527

@zhaowangda

Description

@zhaowangda

What happened? 发生了什么问题?

TASK [kube-node : 轮询等待kube-proxy启动] *******************************************
changed: [192.168.100.71]
FAILED - RETRYING: [192.168.100.71]: 轮询等待kubelet启动 (4 retries left).
FAILED - RETRYING: [192.168.100.71]: 轮询等待kubelet启动 (3 retries left).
FAILED - RETRYING: [192.168.100.71]: 轮询等待kubelet启动 (2 retries left).
FAILED - RETRYING: [192.168.100.71]: 轮询等待kubelet启动 (1 retries left).

TASK [kube-node : 轮询等待kubelet启动] **********************************************
fatal: [192.168.100.71]: FAILED! => {"attempts": 4, "changed": true, "cmd": "systemctl is-active kubelet.service", "delta": "0:00:00.006921", "end": "2026-03-13 22:30:16.876017", "msg": "non-zero return code", "rc": 3, "start": "2026-03-13 22:30:16.869096", "stderr": "", "stderr_lines": [], "stdout": "activating", "stdout_lines": ["activating"]}

PLAY RECAP **************************************************************************
192.168.100.71 : ok=77 changed=38 unreachable=0 failed=1 skipped=165 rescued=0 ignored=0
localhost : ok=31 changed=21 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0

What did you expect to happen? 期望的结果是什么?

allinone部署 kubelet能正常启动

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

centos7.9最小化系统按住那个,allinone部署后,kubelet无法启动

Anything else we need to know? 其他需要说明的情况

No response

Kubernetes version k8s 版本

Details v1.34

Kubeasz version

Details 3.6.8

OS version 操作系统版本

Details
# On Linux:
[root@k8s-192-168-100-71 ~]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[root@k8s-192-168-100-71 ~]# uname -a
Linux k8s-192-168-100-71 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@k8s-192-168-100-71 ~]# 


</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

<details>

</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions