-
Notifications
You must be signed in to change notification settings - Fork 135
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
How to upgrade a cluster deployed with ansible-role-k3s playbook? #83
Comments
I would also like to mention that I'm using ansible 2.9 (which comes with Debian Stable and Ubuntu 20.04). I don't think I would upgrade to 2.10 until it reaches the Debian repositories. https://tracker.debian.org/pkg/ansible I manage multiple servers and it's very costly when I have to maintain/install software outside the main repo - and I try to avoid getting into these situations. Perhaps you would take this into consideration when deciding the baseline ansible version (and other packages). Thank you for working on this. Regards, |
How many Ansible controllers do you have? Yes this is a piece of documentation I'm yet to write. Upgrade should be possible by changing https://rancher.com/docs/k3s/latest/en/upgrades/basic/ v2.x may work with 2.9 in practice more, but some FQCNs were buggy when I last attempted it some months ago (eg. |
Hi @ieugen Because of this bug the minimum 2.9 ansible version supported is 2.9.17. Below is the error received for any versions below 2.9.17 (tested on 2.9.16): This is because I have moved on to using FQCNs as I may start adding specific module collections to interact with k3s (for example the These requirements can be met by installing Ansible with If you need an Ansible role to install Ansible with
After all, what is Ansible for if not to reduce the cost and remove the pain of managing systems 😉 I am working on changing my requirements.txt, the ansible check and updating the documentation for doing K3s updates. |
Thank you very much @xanmanning for taking the time and considering this issue. Have a great day, |
Hi,
I've deployed a cluster with this ansible playbook and I would like to upgrade it to a patch version of kubernetes.
It's not clear to me how can I do that.
Can you share some the list of steps that I need to do?
I can try them out and add them to the documentation.
I've also noticed the documentation does not cover this steps https://github.com/PyratLabs/ansible-role-k3s/tree/main/documentation .
p.s. I'm using version 1.17.4 of this playbook.
The text was updated successfully, but these errors were encountered: