kubectl – Error while running kubeadm init while creating kubernetes cluster with containerd

I have installed kubectl, kubeadm, kubelet v1.26.1 and containerd v.1.6.16. I am trying to create a cluster. First I am trying to create a master. So I am running sudo kubeadm init. Which is failing with following error

[ERROR CRI]: container runtime is not running: output: time="2023-02-01T16:50:16+05:30" level=fatal msg="validate service connection: CRI v1 runtime API is not implemented for endpoint \"unix:///run/containerd/containerd.sock\": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService"

Need way to solve this error

Read more here: Source link