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

问题:

[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版本和初始化的版本是否一直。

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

[root@k8s-master:~] rm -rf /etc/containerd/config.toml
[root@k8s-master:~] systemctl restart containerd

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

你可能感兴趣的:(分布式微服务,kubernetes,大数据)