CRI v1 运行时 API 没有为端点实现 [关闭]

问题描述 投票:0回答:0

每当我在做kubeadm init 显示以下错误时,任何人都可以在这里帮助我,我可以为此做些什么

[init] Using Kubernetes version: v1.26.1
[preflight] Running pre-flight checks
    [WARNING Swap]: swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet
error execution phase preflight: [preflight] Some fatal errors occurred:
    [ERROR CRI]: container runtime is not running: output: time="2023-01-26T18:54:12+05:30" 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

我试过重启containerd但没有解决 chacked docker 是否在运行

docker kubernetes kubeadm microk8s containerd
© www.soinside.com 2019 - 2024. All rights reserved.