https://rancher.com/ logo
#rke2
Title
h

hundreds-airport-66196

05/13/2022, 10:08 PM
How to upgrade rke2 on an airgap installation?
g

gray-lawyer-73831

05/16/2022, 4:08 PM
You’ll want to get a new binary: https://docs.rke2.io/upgrade/basic_upgrade/#manually-upgrade-rke2-using-the-binary, and then depending on tarball or private registry, you’d want to the do the same steps that you did for install. For example for tarball, download the one for the version you’re upgrading to and store it in the proper location on the airgapped node.
h

hundreds-airport-66196

05/16/2022, 4:12 PM
do I have to uninstall the existing version? Or just have to stop the rke2 server and run rke2-killall.sh
g

gray-lawyer-73831

05/16/2022, 4:20 PM
nope you shouldn’t have to uninstall. You shouldn’t even have to run the killall script actually, just restart the rke2-server / rke2-agent processes after retrieving the new binary
h

hundreds-airport-66196

05/16/2022, 4:22 PM
ok, I will try this
thanks
135 Views