diff --git a/hack/local-up-kubenest.sh b/hack/local-up-kubenest.sh index 0a31283..f6172b6 100755 --- a/hack/local-up-kubenest.sh +++ b/hack/local-up-kubenest.sh @@ -68,13 +68,14 @@ load_kubenetst_cluster_images "${KUBE_NEST_CLUSTER_NAME}" # install sudo command in kind's node container # define node name node_names=( - "${clustername}-control-plane" - "${clustername}-worker" - "${clustername}-worker2" - "${clustername}-worker3" - "${clustername}-worker4" + "${KUBE_NEST_CLUSTER_NAME}-control-plane" + "${KUBE_NEST_CLUSTER_NAME}-worker" + "${KUBE_NEST_CLUSTER_NAME}-worker2" + "${KUBE_NEST_CLUSTER_NAME}-worker3" + "${KUBE_NEST_CLUSTER_NAME}-worker4" ) +# todo execute in parallel for node in "${node_names[@]}" do echo "Updating and installing sudo on $node..."