Change-Id: I7f0a4480c0261bc65991fb88836e4ebb7b3c4e29
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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() {
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"