Fixing the "unknown service runtime.v1alpha2.RuntimeService" error on kubeadm init
This post summarizes how to deal with the following error that occurred during kubeadm init.
1 | level=fatal msg="getting status of runtime failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" |
Conclusion
You can resolve it by running the following.
1 | sudo rm /etc/containerd/config.toml |
See the following for reference.
Kubeadm unknown service runtime.v1alpha2.RuntimeService · Issue #4581 · containerd/containerd
Problem Following Kubernetes official installation instruction for containerd and kubeadm init will fail with unknown service runtime.v1alph…
Test Environment
- kubeadm 1.22.7-00
- kubelet 1.22.7-00
- kubectl 1.22.7-00
That’s all.
I hope this is helpful.
Fixing the "unknown service runtime.v1alpha2.RuntimeService" error on kubeadm init
https://kenzo0107.github.io/en/2022/05/14/fix-unknown-service-runtime.v1alpha2.runtimeservice/