kubeadm init
[init] Using Kubernetes version: v1.26.2
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR CRI]: container runtime is not running: output: time="2023-03-01T08:28:38Z" 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
Asked
Active
Viewed 2,614 times
-1

Nikhil Soni
- 1
- 1
- 1
2 Answers
0
Try the below steps:
- delete the config.tomal file
$rm /etc/containerd/config.toml
- restart containerd
systemctl restart containerd
- try the init command
kubeadm init

kamcode
- 1