Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing kubernetes 1.20.0 fails #91

Open
anilnokia opened this issue Apr 29, 2022 · 1 comment
Open

Installing kubernetes 1.20.0 fails #91

anilnokia opened this issue Apr 29, 2022 · 1 comment

Comments

@anilnokia
Copy link

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,

@PraveshKoirala
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants