Issue description:
When attempting to upgrade a k3s cluster through the UI, there is no option for k3s 1.21.14 (or any 1.21.x version). Options are v1.22.16, 1.23.14, and 1.24.8. Currently running 1.20.15 and need to upgrade to 1.21.14 since minor version upgrades are not supposed to jump 2 minor versions. This makes it difficult to upgrade.
Repro steps:
Install rancher on a k3s 1.20.15 cluster
In cluster manager, go to Edit Config for the local cluster
Click on Kubernetes Version dropdown in the K3S Options section
Workaround:
Go to the older (/g) UI and use view in API for cluster and manually change the k3s version through API call. Or use the rancher2 terraform provider to upgrade.
Actual behavior:
v1.21.14+k3s1 is NOT listed in the Kubernetes Version drop down
Expected behavior:
v1.21.14+k3s1 is listed in the Kubernetes Version drop down
k3s team has indicated that there's no change on the KDM side made, so 1.21 though deprecated, should appear. The theory is that the Show Deprecated Versions checkbox isn't appearing properly.
I'm not sure if the "Show Deprecated Versions" checkbox that was added for this specifically applies to Imported and Local k3s and rke2 clusters, but based on this ticket it appears it doesn't. I believe that is the fix that is needed here.
Internal reference: SURE-5759 Reported in 2.6.9
Issue description: When attempting to upgrade a k3s cluster through the UI, there is no option for k3s 1.21.14 (or any 1.21.x version). Options are v1.22.16, 1.23.14, and 1.24.8. Currently running 1.20.15 and need to upgrade to 1.21.14 since minor version upgrades are not supposed to jump 2 minor versions. This makes it difficult to upgrade.
Repro steps:
Workaround: Go to the older (
/g
) UI and use view in API for cluster and manually change the k3s version through API call. Or use the rancher2 terraform provider to upgrade.Actual behavior: v1.21.14+k3s1 is NOT listed in the Kubernetes Version drop down
Expected behavior: v1.21.14+k3s1 is listed in the Kubernetes Version drop down
Additional notes: Note: according to support matrix for v2.6.9, k3s 1.20 -> 1.24 is supported. See https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-6-9/
k3s team has indicated that there's no change on the KDM side made, so 1.21 though deprecated, should appear. The theory is that the Show Deprecated Versions checkbox isn't appearing properly.
Quoting: