K8s kubeadm/Kubelet/ download offline

Hello All,

how to download offilne K8s kubeadm/Kubelet/ packages for K8s installtion.

I need version 1.18.20, 1.19.16, 1.20.15, 1.21.9

Hello Jani,
you can use the latest documentation Installing kubeadm | Kubernetes to add the repo first

then you can use apt-get install -y kubelet=1.x.x-00 kubeadm=1.x.x-00 where is x the preferred version
eg:
apt-get install -y kubelet=1.19.0-00 kubeadm=1.19.0-00