Hi, I am trying to build a cluster with one master and 2 worker nodes but having . . .

Sajid Farooq:
Hi, I am trying to build a cluster with one master and 2 worker nodes but having this error. Please tell why is this so?

uday bhanu dutta:
Hi @Sajid Farooq - I also get that error if you are trying to spawn a cluster with latest kubeadm version (v1.24.2). Try it with lower version i.e. with v1.23.2, it should work.

Sajid Farooq:

image.png

Sajid Farooq:
I am not able to downgrade my kubeadm. Please guide me
image.png

Sajid Farooq:
@uday bhanu dutta Please check and guide me I am not able to downgrade the kubeadm

Sajid Farooq:
This is my docker image version.

unnivkn:
Hi @Sajid Farooq and @uday bhanu dutta please try to install CRI-O or Containerd as a runtime engine. Docker runtime engine won’t support from k8s v1.24 fyr: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/

unnivkn:
https://kubernetes.io/blog/2022/02/17/dockershim-faq/

unnivkn:
https://kubernetes.io/blog/2022/01/07/kubernetes-is-moving-on-from-dockershim/

uday bhanu dutta:
Thank @unnivkn

Sajid Farooq:
Thank you @uday bhanu dutta and @unnivkn. Let me try this way. Thanks lads.

Sajid Farooq:
@unnivkn I am not able to install cri-o in OS (ubuntu 18.04). I am trying to build like (Section 11: Installing Kubernetes the kubeadm way). Please suggest to me how should I move forward. I am stuck for the past few days. One master and two worker nodes. I am still failing at CRI installations.

unnivkn:
Please DM me, I will guide you

Sajid Farooq:
Sure :+1: