This message was deleted.
# general
a
This message was deleted.
c
Good day folks, renew for any guidance or assistance for the upgrade path, appreciated 💡
Basically what I am trying to do is that I have
rke 1.4.1 and k8s v1.24.8
running. Is it feasible I upgrade the
rke
to
1.4.7
directly and then upgrade my cluster from
1.24.8
->
1.24.15
. Once the cluster upgrade done, I should be able to bump
rancher
version from
2.7.0
to
2.7.6
. I only have one
local
cluster as the rancher cluster as well as my workloads cluster
although is this a concern that
1.24.15
is not listed, but instead
1.24.15
is listed in
2.7.7-rc1
I am a bit confused
beside , does
rke
/
rancher
take care of removing PSP policies during upgrade ?
s
https://kubernetes.io/releases/version-skew-policy/#supported-version-skew I would upgrade to the next minor version gradually and disregard the patch number.
c
thx man, I will take another look, so by right, going from
1.24.x
->
1.25.x
should be OK?
Hi all, anyone would like to share their upgrade experience ? thx in advance
h
In cluster.yaml file you need to add
kubernetes_version
with version listed in your screenshot above. then simply run rke up. Perhaps this guide (specific to RKE upgrade) can help you clear things up: https://rke.docs.rancher.com/upgrades
🙌 1
you can run
Copy code
rke config --list-version --all
to check/confirm which RKE Kubernetes versions are supported for the RKE binary This is also mentioned in RKE upgrades doc link
and just FYI there is #rke channel
c
thx @hundreds-evening-84071 I will check it out , likely I will also throw the questions to the more specific channel , thx again
h
good luck
c
I’ve done the
rke
upgrade once before, my main concern right now is the upgrade path and how to avoid some known major issues
tbh, upgrading k8s minor versions do require some luck LOL
h
true... having luck (and backups) on your side is good;
✅ 1
For backing up etcd -
# rke etcd snapshot-save --name <backup_filename> --config <you_rancher-cluster.yaml>
Backup file
is generated *in*: /opt/rke/etcd-snapshots/
🙌 1