This message was deleted.
# rke2
a
This message was deleted.
h
v1.21 is perhaps EOL - oldest version I see is 1.23 on support matrix: https://www.suse.com/suse-rke2/support-matrix/all-supported-versions/rke2-v1-23/
how was the cluster created? RPM, Script or from Rancher UI? Reason I ask is my RKE2 cluster was created from RancherUI, so when I upgrade from the UI, it upgrades all nodes etcd/control plane/workers (1 at a time)
c
yes, best practice is to go to latest on your current minor, then to latest on the next minor. continue until you’re on a supported minor.
q
thank you. Cluster was build using Scripts, so how different will it be?
h
https://github.com/rancher/rke2/blob/release-1.21/docs/upgrade/basic_upgrade.md#upgrade-rke2-using-the-installation-script You want to do the 3rd curl command for specific version... this one:
Copy code
curl -sfL <https://get.rke2.io> | INSTALL_RKE2_VERSION=vX.Y.Z-rc1 sh -
there is automated upgrade but I am not sure if that option is possible for v1.21? https://github.com/rancher/rke2/blob/release-1.21/docs/upgrade/automated_upgrade.md
c
the system-upgrade-controller should work fine even that far back
q
great thank you, one final question, these upgrades have to be done on both control plane and worker nodes correct?
c
if you’re doing it by hand, yes
if you use the upgrade controller it will do that for you
q
thank you @creamy-pencil-82913 and @hundreds-evening-84071
When I trying to run the system-upgrade-controller.yml, I get the following error: no matches for kind "Plan" in version "upgrade.cattle.io/v1"
c
did you deploy the system upgrade controller and CRDs?
q
Since we have our network air gapped I could not deploy so I guess that is why the error has triggered. So what I understand is system controller is build around the controller, so it will spawn pods to do the upgrade and it will upgrade all the master nodes along with its worker nodes? Couple of questions I have are: 1. we have Rancher with the management server, then we have the control plane, since both have controller do we run the system-contoller on both of them or just run on rancher management? 2. as mentioned above our network is air-gapped will there anything different or we should just have to add upgrade.cattle.io/v1 to the repository?