https://rancher.com/ logo
Title
t

tall-doctor-28108

08/16/2022, 10:06 AM
Hello everyone, I have an RKE cluster with k8s 1.21.13 and I want to upgrade it to 1.22. I have Rancher 2.6.6 running on this RKE cluster. I checked the 2.6.6 compatibility matrix and it says that only 1.22.9 is supported for RKE clusters. The issue is that when I run "rke config --list-version --all", only v1.22.10-rancher1-1 is listed and not 1.22.9. Will the 1.22.10 version work too? Or can I somehow install the 1.22.9 version using the RKE binary?
1
Okay, I found out that I'm using the wrong RKE version. I currently have v1.3.12, but I need v1.3.11. v1.3.11 offers v1.22.9-rancher1-1, which is the only 1.22 version officially supported by Rancher
t

tall-school-18125

08/16/2022, 6:31 PM
It should be possible to expand the number of Kubernetes upgrade options without upgrading Rancher https://rancher.com/docs/rancher/v2.6/en/admin-settings/k8s-metadata/
t

tall-doctor-28108

08/17/2022, 9:27 AM
@tall-school-18125 Thanks for your reply! That's good to know, I was not aware of this. Although I think I will likely take the safer route and use the k8s version that is officially supported as per Rancher docs. Once 2.6.7 is released I will patch k8s accordingly.
@tall-school-18125 Am I going to have any issues when I use rke-1.3.13 to provision v1.22.9-rancher1-1 in my cluster.yml? Only v1.22.11-rancher1-1 is listed when I run
rke-1.3.13 config --list-version --all
. But it successfully goes through when I run
rke up
in my test environment and I'm not seeing any problems yet. Are older k8s patches automatically supported as well by rke releases that list newer patches for that specific minor version?
t

tall-school-18125

08/17/2022, 6:06 PM
I wouldn't expect issues, but we only support the latest patch version for each minor version because that is what was used for testing and that would also contain important security fixes
t

tall-doctor-28108

08/18/2022, 11:07 AM
Alright, I see. I really appreciate you taking the time to reply. Thanks and have a nice day!