Ashwin Dora:
Hi @Mumshad Mannambeth @unnivkn @Tej_Singh_Rana @Vijin Palazhi and anyone… I think in Kubeadm CLuster Install - ‘practice-test-cluster-installation-using-kubeadm’ practice test . I think there could be a problem. We are asked to install the kubeadm version 1.21.0 but the kubelet which is already installed and existing is higher 1.22.1 which is causing problems in Kubeadm initialization . Please let me know if I am missing something . I have always stuck in this exercise in kodeKloud. I was able to succesfully complete in the killer.sh but stuck here. Am i doing something wrong? Please refer to the snapshot below.
Vijin Palazhi:
Hi Ashwin, so in the very first question, we need to install the version 1.21 version of all components - kubectl/kubeadm and kubelet (in this task basically you are re-installing these packages with 1.21)
So run the command: sudo apt-get install -y kubelet=1.21.0-00 and it should do the trick.
Vijin Palazhi:
also, the use of --ignore-pre-flight-errors is wrong. You should only use it when you are sure that ignoring an error will not cause an issue with the installation. Also it accepts the actual key of the error (such as KubeletVersion).
You shouldn’t need to use it in this case anyway.
As mentioned in the solution tab, please install the correct version of kubelet and try kubeadm init again.
Ashwin Dora:
ok @Vijin Palazhi i will rety and update here