Forum Navigation
You need to log in to create posts and topics.

kubadm init error: Unknown service runtime.v1alpha2.RuntimeService"

Problem

User encounter the following error when trying to run kubadm init

Error execution phase preflight: [preflight] Some fatal errors occurred:

[ERROR CRI]: container runtime is not running: output: E0626 17:02:41.090085    2847 remote_runtime.go:925] “Status from runtime service failed” err=”rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService”

time=”2022-06-26T17:02:41+03:00″ level=fatal msg=”getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService”

Solution

Run the following commands to fix the issue

sudo rm /etc/containerd/config.toml
sudo systemctl restart containerd
sudo kubeadm init

 

If you have found my website, guides, articles or videos useful, please buy me a coffee