https://rancher.com/ logo
Title
h

hundreds-airport-66196

02/24/2023, 10:41 PM
Is there a possibility to upgrade rke2 with no downtime in a multi-node HA?
c

creamy-pencil-82913

02/24/2023, 10:42 PM
no downtime to what
workload pods keep running while the service is restarted, but the kubelet/apiserver/etc will temporarily go away as they are upgraded.
If you follow the docs and upgrade only a single server at a time you should be fine
h

hundreds-airport-66196

02/24/2023, 10:44 PM
ah, that could be the key. thanks
c

creamy-pencil-82913

02/24/2023, 10:45 PM
Is there anything specific you are running into problems with?
h

hundreds-airport-66196

02/24/2023, 10:50 PM
no problem yet. Our current upgrade is being run from ansible playbook and doing this simultaneously is causing downtime. A new feature is ask for a no downtime during the upgrade
c

creamy-pencil-82913

02/24/2023, 10:51 PM
yeah, you definitely don’t want to just have ansible just do all the nodes at once. Best practice is to do servers one at a time, waiting for everything to stabilize before moving on to the next. Then you can do the agents with as much parallelism as you want.
h

hundreds-airport-66196

02/24/2023, 10:52 PM
thanks @creamy-pencil-82913