创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
物理机,Ubuntu18.04,4C/8G
Kubernetes版本信息
Client Version: v1.30.6
容器运行时
Version: 0.1.0
RuntimeName: containerd
RuntimeVersion: 1.6.12-0ubuntu1~18.04.1
RuntimeApiVersion: v1
KubeSphere版本信息
在线安装。使用kk安装。
问题是什么
kk部署k8sv1.30.6和1.28.12都出现以下图片问题,请各位大神帮忙看看,有什么解决方案,
报错信息:
Unfortunately, an error has occurred:
context deadline exceeded
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:///run/containerd/containerd.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:///run/containerd/containerd.sock logs CONTAINERID’
error execution phase wait-control-plane: could not initialize a Kubernetes cluster
To see the stack trace of this error execute with –v=5 or higher