Catalogue
Fixing the "unknown service runtime.v1alpha2.RuntimeService" error on kubeadm init

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
2
sudo rm /etc/containerd/config.toml
sudo systemctl restart containerd

See the following for reference.

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.

kenzo0107

kenzo0107