sudo kind create cluster --config kind-cluster-config.yaml 报错

来源:1-12 本章小结

小小太阳秦

2025-11-09

[kubelet-check] Waiting for a healthy kubelet at http://127.0.0.1:10248/healthz. This can take up to 4m0s
[kubelet-check] The kubelet is not healthy after 4m0.001228448s

Unfortunately, an error has occurred, 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’

error: error execution phase kubelet-wait-bootstrap: failed while waiting for the kubelet to start: The HTTP call equal to ‘curl -sSL http://127.0.0.1:10248/healthz’ returned error: Get “http://127.0.0.1:10248/healthz”: context deadline exceeded

写回答

1回答

暮闲

2025-11-09

看一下报错日志;

journalctl -xeu kubelet

0
1
小小太阳秦
解决了
2025-11-09
共1条回复

Kubernetes系统精讲 Go语言实战K8S集群可视化

核心知识+高阶应用+原理剖析+二次开发 全方位打通K8S生产实践

420 学习 · 280 问题

查看课程