Skip to content

Commit

Permalink
improve start script
Browse files Browse the repository at this point in the history
Signed-off-by: duanmengkk <[email protected]>
  • Loading branch information
duanmengkk committed Dec 11, 2024
1 parent cc1040a commit 9e52acb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions hack/local-up-kubenest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 9e52acb

Please sign in to comment.