kubeadm join - 无法检查容器运行时

时间:2018-04-04 18:32:22

标签: kubernetes kubeadm

向现有1.9.0群集添加新节点时。 kubeadm给出了此错误消息。

我的群集正在Centos 7服务器上运行。 docker deamon正在运行,但找不到文件/var/run/dockershim.sock。

如何解决此错误消息?

kubeadm join --token 
[preflight] Some fatal errors occurred:
        [ERROR CRI]: unable to check if the container runtime at "/var/run/dockershim.sock" is running: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`

感谢 SR

1 个答案:

答案 0 :(得分:0)

有一个讨论:I have the following problem when I want to use the client for CRI #153
随后发生了立方体问题:How to get kubeadm init to not fail? #733
Pull Request kubeadm init: skip checking cri socket in preflight checks #58802
解决了这个问题 版本v1.9.3是PR合并后最近的版本。

作为建议的解决方法,您可以禁用CRI检查:

kubeadm init --ignore-preflight-errors=cri
相关问题