kubadm init error: Unknown service runtime.v1alpha2.RuntimeService"
Quote from moshe on 26/06/2022, 10:03 pmProblem
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
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