Parallelize cloud node deployment commands in case of multiple zones (#3657)
This commit is contained in:
parent
444e87f888
commit
0904df327d
|
@ -517,9 +517,11 @@ EOF
|
|||
fi
|
||||
cloud_CreateInstances "$prefix" "$prefix-$zone-fullnode" "$numNodesPerZone" \
|
||||
"$enableGpu" "$fullNodeMachineType" "$zone" "$fullNodeBootDiskSizeInGb" \
|
||||
"$startupScript" "" "$bootDiskType"
|
||||
"$startupScript" "" "$bootDiskType" &
|
||||
done
|
||||
|
||||
wait
|
||||
|
||||
if [[ $clientNodeCount -gt 0 ]]; then
|
||||
cloud_CreateInstances "$prefix" "$prefix-client" "$clientNodeCount" \
|
||||
"$enableGpu" "$clientMachineType" "${zones[0]}" "$clientBootDiskSizeInGb" \
|
||||
|
|
Loading…
Reference in New Issue