Please help to fix this : Install the kubeadm and kubelet packages on the controlplane and node01 nodes

As per the below question kubelet installed on controlplane? and Kubelet installed on worker node01 ? is not installed. Even I am following the same commands in the solution video. Please see the below steps for the commands

cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.ipv4.ip_forward = 1
EOF
sudo sysctl --system

cat /etc/*release

sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl gpg

curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg

echo ‘deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /’ | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt-get update
sudo apt-get install -y kubelet kubeadm kubectl
sudo apt-mark hold kubelet kubeadm kubectl

Install the kubeadm and kubelet packages on the controlplane and node01 nodes.

Use the exact version of 1.29.0-1.1 for both.

Check

Next

kubeadm installed on controlplane?

kubelet installed on controlplane?

Kubeadm installed on worker node01?

Kubelet installed on worker node01 ?

From the commands you have pasted, you will have installed version 1.30, which is not version 1.29.0 as the question requires.

curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg

echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt-get update
sudo apt-get install -y kubelet=1.29.0-1.1  kubeadm=1.29.0-1.1  kubectl=1.29.0-1.1 

Many thanks Alistair for the guidance. I will check and will update you.

Regards
Rajan Verma

Yes it is working fine now Alistair. Thanks for the help.

Regards
Rajan

Please take special care to read the questions carefully. Lack of attention to details is what fails the real exam :wink: