net/gce.sh: Sync cloud_CreateInstances docs and usage (#5982)
automerge
This commit is contained in:
@ -711,19 +711,19 @@ EOF
|
|||||||
if [[ $clientNodeCount -gt 0 ]]; then
|
if [[ $clientNodeCount -gt 0 ]]; then
|
||||||
cloud_CreateInstances "$prefix" "$prefix-client" "$clientNodeCount" \
|
cloud_CreateInstances "$prefix" "$prefix-client" "$clientNodeCount" \
|
||||||
"$enableGpu" "$clientMachineType" "${zones[0]}" "$clientBootDiskSizeInGb" \
|
"$enableGpu" "$clientMachineType" "${zones[0]}" "$clientBootDiskSizeInGb" \
|
||||||
"$startupScript" "" "$bootDiskType"
|
"$startupScript" "" "$bootDiskType" ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $blockstreamer; then
|
if $blockstreamer; then
|
||||||
cloud_CreateInstances "$prefix" "$prefix-blockstreamer" "1" \
|
cloud_CreateInstances "$prefix" "$prefix-blockstreamer" "1" \
|
||||||
"$enableGpu" "$blockstreamerMachineType" "${zones[0]}" "$fullNodeBootDiskSizeInGb" \
|
"$enableGpu" "$blockstreamerMachineType" "${zones[0]}" "$fullNodeBootDiskSizeInGb" \
|
||||||
"$startupScript" "$blockstreamerAddress" "$bootDiskType"
|
"$startupScript" "$blockstreamerAddress" "$bootDiskType" ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $replicatorNodeCount -gt 0 ]]; then
|
if [[ $replicatorNodeCount -gt 0 ]]; then
|
||||||
cloud_CreateInstances "$prefix" "$prefix-replicator" "$replicatorNodeCount" \
|
cloud_CreateInstances "$prefix" "$prefix-replicator" "$replicatorNodeCount" \
|
||||||
false "$replicatorMachineType" "${zones[0]}" "$replicatorBootDiskSizeInGb" \
|
false "$replicatorMachineType" "${zones[0]}" "$replicatorBootDiskSizeInGb" \
|
||||||
"$startupScript" "" ""
|
"$startupScript" "" "" ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$metricsWriteDatapoint "testnet-deploy net-create-complete=1"
|
$metricsWriteDatapoint "testnet-deploy net-create-complete=1"
|
||||||
|
@ -146,6 +146,8 @@ cloud_Initialize() {
|
|||||||
# address - Optional name of the GCE static IP address to attach to the
|
# address - Optional name of the GCE static IP address to attach to the
|
||||||
# instance. Requires that |numNodes| = 1 and that addressName
|
# instance. Requires that |numNodes| = 1 and that addressName
|
||||||
# has been provisioned in the GCE region that is hosting `$zone`
|
# has been provisioned in the GCE region that is hosting `$zone`
|
||||||
|
# bootDiskType - Optional specify SSD or HDD boot disk
|
||||||
|
# additionalDiskSize - Optional specify size of additional storage volume
|
||||||
#
|
#
|
||||||
# Tip: use cloud_FindInstances to locate the instances once this function
|
# Tip: use cloud_FindInstances to locate the instances once this function
|
||||||
# returns
|
# returns
|
||||||
|
@ -148,6 +148,8 @@ cloud_Initialize() {
|
|||||||
# address - Optional name of the GCE static IP address to attach to the
|
# address - Optional name of the GCE static IP address to attach to the
|
||||||
# instance. Requires that |numNodes| = 1 and that addressName
|
# instance. Requires that |numNodes| = 1 and that addressName
|
||||||
# has been provisioned in the GCE region that is hosting |zone|
|
# has been provisioned in the GCE region that is hosting |zone|
|
||||||
|
# bootDiskType - Optional specify SSD or HDD boot disk
|
||||||
|
# additionalDiskSize - Optional specify size of additional storage volume
|
||||||
#
|
#
|
||||||
# Tip: use cloud_FindInstances to locate the instances once this function
|
# Tip: use cloud_FindInstances to locate the instances once this function
|
||||||
# returns
|
# returns
|
||||||
|
@ -123,6 +123,8 @@ cloud_Initialize() {
|
|||||||
# address - Optional name of the GCE static IP address to attach to the
|
# address - Optional name of the GCE static IP address to attach to the
|
||||||
# instance. Requires that |numNodes| = 1 and that addressName
|
# instance. Requires that |numNodes| = 1 and that addressName
|
||||||
# has been provisioned in the GCE region that is hosting `$zone`
|
# has been provisioned in the GCE region that is hosting `$zone`
|
||||||
|
# bootDiskType - Optional specify SSD or HDD boot disk
|
||||||
|
# additionalDiskSize - Optional specify size of additional storage volume
|
||||||
#
|
#
|
||||||
# Tip: use cloud_FindInstances to locate the instances once this function
|
# Tip: use cloud_FindInstances to locate the instances once this function
|
||||||
# returns
|
# returns
|
||||||
|
Reference in New Issue
Block a user