首页 > 其他分享 >K8S初始化报错:CRI v1 runtime API is not implemented for endpoint \"unix:///var/run/containerd/conta

K8S初始化报错:CRI v1 runtime API is not implemented for endpoint \"unix:///var/run/containerd/conta

时间:2023-07-21 18:13:21浏览次数:39  
标签:CRI containerd v1 unix 报错 runtime

报错具体内容:

[preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: time="2023-07-21T09:20:07Z" level=fatal msg="validate service connection: CRI v1 runtime API is not implemented for endpoint \"unix:///var/run/containerd/containerd.sock\": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService"
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher

  

 

系统环境:

ubuntu 20.04

contained.io 1.6.1

 

 

解决方案:

vi /etc/containerd/config.toml 注释掉其中的:disabled_plugins = ["cri"]  再重新执行初始化命令              

标签:CRI,containerd,v1,unix,报错,runtime
From: https://www.cnblogs.com/yourstars/p/17572125.html

相关文章