Feature 11063: Upgrade k3s version to 1.34.2 20/15420/10
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 24 Sep 2025 09:48:23 +0000 (11:48 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 12 Dec 2025 11:45:57 +0000 (12:45 +0100)
Change-Id: I7f0a4480c0261bc65991fb88836e4ebb7b3c4e29
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/cluster/k3s/install_k3s_cluster.sh

index 670de0b..f54f9e9 100755 (executable)
@@ -16,8 +16,7 @@
 set +eux
 
 # K3s releases: https://github.com/k3s-io/k3s/releases/
-K8S_CLIENT_VERSION="v1.29.3"
-K8S_VERSION="v1.29.3+k3s1"
+K8S_VERSION="v1.34.2+k3s1"
 
 # configure registry
 function configure_registry() {
@@ -100,7 +99,7 @@ function check_for_readiness() {
     local cluster_ready=""
     while (( counter < time_for_failure ))
     do
-        kubectl get nodes |grep master |grep -v none | grep Ready
+        kubectl get nodes |grep control-plane |grep -v none | grep Ready
         if [ $? -eq 0 ] ; then
             echo "K8s cluster is ready"
             cluster_ready="y"