Feature 11063: Upgrade k3s version to 1.34.2

Change-Id: I7f0a4480c0261bc65991fb88836e4ebb7b3c4e29
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/cluster/k3s/install_k3s_cluster.sh b/installers/cluster/k3s/install_k3s_cluster.sh
index 670de0b..f54f9e9 100755
--- a/installers/cluster/k3s/install_k3s_cluster.sh
+++ b/installers/cluster/k3s/install_k3s_cluster.sh
@@ -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 @@
     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"