Using Rancher 2.8.5 and trying to upgrade cluster rke2 (onpremise bare metal) from version v1.26.7+rke2r1 to version v1.27.14.
The install is stalled because al bunch of jobs running Helm charts failed because of an incompatible version detected.
What can i do to fix this?
Example error from logging:
Already installed rke2-calico-crd
2024-07-08T12:21:36.119226462Z + [[ helm_v3 == \h\e\l\m\_\v\3 ]]
2024-07-08T12:21:36.119614159Z + helm_v3 mapkubeapis rke2-calico-crd --namespace kube-system
2024/07/08 12:21:36 Release 'rke2-calico-crd' will be checked for deprecated or removed Kubernetes APIs and will be updated if necessary to supported API versions.
2024-07-08T12:21:36.194733485Z 2024/07/08 12:21:36 Get release 'rke2-calico-crd' latest version.
2024/07/08 12:21:36 Check release 'rke2-calico-crd' for deprecated or removed APIs...
2024/07/08 12:21:36 Finished checking release 'rke2-calico-crd' for deprecated or removed APIs.
2024/07/08 12:21:36 Release 'rke2-calico-crd' has no deprecated or removed APIs.
2024-07-08T12:21:36.370073356Z 2024/07/08 12:21:36 Map of release 'rke2-calico-crd' deprecated or removed APIs to supported versions, completed successfully.
+ echo 'Upgrading helm_v3 chart'
+ echo 'Upgrading rke2-calico-crd'
+ shift 1
Upgrading rke2-calico-crd
+ helm_v3 upgrade --set-string global.clusterCIDR=10.42.0.0/16 --set-string global.clusterCIDRv4=10.42.0.0/16 --set-string global.clusterDNS=10.43.0.10 --set-string global.clusterDomain=cluster.local --set-string global.rke2DataDir=/var/lib/rancher/rke2 --set-string global.serviceCIDR=10.43.0.0/16 rke2-calico-crd /tmp/rke2-calico-crd.tgz
2024-07-08T12:21:36.635263326Z Error: UPGRADE FAILED: chart requires kubeVersion: >= v1.27.14 which is incompatible with Kubernetes v1.26.7+rke2r1
2024-07-08T12:21:36.641632328Z + exit