当前位置:网站首页>Kubeadm初始化报错:[ERROR CRI]: container runtime is not running

Kubeadm初始化报错:[ERROR CRI]: container runtime is not running

2022-07-04 20:31:00 架构师小马

问题:

[ERROR CRI]: container runtime is not running: output: E0704 15:55:13.285883    7777 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
time="2022-07-04T15:55:13+08:00" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
, error: exit status 1

解决办法:

首先,确认安装的kubenetes版本和初始化的版本是否一直。

如果一致执行下面的命令,进行修复。

[[email protected]:~] rm -rf /etc/containerd/config.toml
[[email protected]:~] systemctl restart containerd

输入后再次执行kubeadm init,正常运行。

原网站

版权声明
本文为[架构师小马]所创,转载请带上原文链接,感谢
https://blog.csdn.net/f88069684/article/details/125602537