当前位置:   article > 正文

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

[error cri]: container runtime is not running:

问题:

  1. [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"
  2. 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"
  3. , error: exit status 1

解决办法:

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

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

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

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/565580
推荐阅读
相关标签
  

闽ICP备14008679号