labring / sealos

Sealos is a production-ready Kubernetes distribution. You can run any Docker image on sealos, start high availability databases like mysql/pgsql/redis/mongo, develop applications using any Programming language.
https://cloud.sealos.io
Apache License 2.0
13.94k stars 2.07k forks source link

BUG: 初始化集群失败 #1656

Closed ghost closed 2 years ago

ghost commented 2 years ago

sealos 4.0 k8s 1.25 redhat7.2 初始化过程中kubelet启动失败 拒绝连接 192.168.9.122:22: [kubelet-check] It seems like the kubelet isn't running or healthy. 192.168.9.122:22: [kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.

fanux commented 2 years ago

systemctl status kubelet

ghost commented 2 years ago

正常auto-restart 尝试更改cgroup类型无效 升级sealos至4.10版本无效 仍然出现上述错误

cuisongliu commented 2 years ago

1.25 只支持sealos 4.1.0-rc3

ghost commented 2 years ago

1.25 只支持sealos 4.1.0-rc3

降级至1.24仍然出现上述错误

fanux commented 2 years ago

需要看 kubelet 没起来的原因到底是什么。

ghost commented 2 years ago

需要看 kubelet 没起来的原因到底是什么。

image image

ghost commented 2 years ago

问题解决 systemd版本过低,升级systemd后问题解决