kubeadm-ansible icon indicating copy to clipboard operation
kubeadm-ansible copied to clipboard

Installing kubernetes 1.20.0 fails

Open anilnokia opened this issue 2 years ago • 1 comments

This scripts only installs latest version. When I change K8_version in the all.yaml to 1.20.0 it fails due to the fact that it installs latest kubeadm. Could you please help me where to change so I can install kubeadm, kubectl and kubelet of version 1.20.0 instead of latest.

Thanks,

anilnokia avatar Apr 29 '22 14:04 anilnokia

See roles/kubernetes/node/meta/main.yml and roles/kubernetes/master/meta/main.yml

In particular, look for the array pkgs: ["kubelet", "kubeadm"]. Change them appropriately i.e. kubelet=x.x.x or kubeadm=x.x.x and it should work.

PraveshKoirala avatar May 20 '22 18:05 PraveshKoirala