Skip to content

Commit e7a11a2

Browse files
Pramodh Pallapothurene
authored andcommitted
Bump up KUBE_VERSION
Recent k3s version update to v1.34.2+k3s1 requires KUBE_VERSION to be bumped, else in already existing installs k3s will not get upgraded. Tested on single nodes where old version v1.33.3+k3s1 is running and verifed after eve upgrade new version of k3s is v1.34.2+k3s1 Signed-off-by: Pramodh Pallapothu <pramodh@zededa.com>
1 parent 1b505be commit e7a11a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/kube/cluster-update.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
# shellcheck source=/dev/null
77
. /usr/bin/cluster-utils.sh
88

9+
# NOTE: Whenever K3S_VERSION is updated, please bump up KUBE_VERSION value too.
910
K3S_VERSION=v1.34.2+k3s1
11+
KUBE_VERSION=2
1012

1113
#
1214
# Handle any migrations needed due to updated cluster-init.sh
1315
# This is expected to be bumped any time:
1416
# - a migration is needed (new path for something)
1517
# - a version bump of: K3s, multus, kubevirt, cdi, longhorn
1618
#
17-
KUBE_VERSION=1
1819
APPLIED_KUBE_VERSION_PATH="/var/lib/applied-kube-version"
1920
update_Version_Set() {
2021
version=$1

0 commit comments

Comments
 (0)