Forum archive › Kubernetes & Helm Charts
Archivekubadm 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
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →