Skip to content

Commit

Permalink
Add quotes even to example output to help devs who copy commands from…
Browse files Browse the repository at this point in the history
… the example output comments (#174)
  • Loading branch information
nhira authored Aug 16, 2024
1 parent 490bced commit 7d5b566
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions xpk-large-scale-guide.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,12 @@ echo python3 xpk.py cluster create \
--custom-cluster-arguments="${CLUSTER_ARGUMENTS}" \
--custom-tpu-nodepool-arguments="${TPU_NODEPOOL_ARGUMENTS}"

# example output ...
# python3 xpk.py cluster create --cluster NAME \
# --tpu-type=v5litepod-256 --num-slices=4 \
# --host-maintenance-interval=PERIODIC \
# --custom-cluster-arguments= --network=NETWORK --subnetwork=SUBNET --scopes=storage-full,gke-default --enable-ip-alias --enable-private-nodes --master-ipv4-cidr 172.16.0.32/28 --cluster-ipv4-cidr=10.224.0.0/12 --no-enable-master-authorized-networks
# --custom-tpu-nodepool-arguments= --scopes=storage-full,gke-default --enable-gvnic --max-pods-per-node 15 --disk-size=50
# --custom-cluster-arguments=" --network=NETWORK --subnetwork=SUBNET --scopes=storage-full,gke-default --enable-ip-alias --enable-private-nodes --master-ipv4-cidr 172.16.0.32/28 --cluster-ipv4-cidr=10.224.0.0/12 --no-enable-master-authorized-networks"
# --custom-tpu-nodepool-arguments=" --scopes=storage-full,gke-default --enable-gvnic --max-pods-per-node 15 --disk-size=50"


##### 2D #####################
Expand Down Expand Up @@ -330,11 +331,12 @@ echo python3 xpk.py cluster create \
--custom-cluster-arguments="${CLUSTER_ARGUMENTS}" \
--custom-tpu-nodepool-arguments="${TPU_NODEPOOL_ARGUMENTS}"

# example output ...
# python3 xpk.py cluster create --cluster NAME \
# --tpu-type=v5litepod-256 --num-slices=64 \
# --host-maintenance-interval=PERIODIC \
# --custom-cluster-arguments= --network=NETWORK --subnetwork=SUBNET --scopes=storage-full,gke-default --enable-ip-alias --enable-private-nodes --master-ipv4-cidr 172.16.0.32/28 --cluster-ipv4-cidr=10.224.0.0/12 --no-enable-master-authorized-networks
# --custom-tpu-nodepool-arguments= --scopes=storage-full,gke-default --enable-gvnic --max-pods-per-node 15 --disk-size=50
# --custom-cluster-arguments=" --network=NETWORK --subnetwork=SUBNET --scopes=storage-full,gke-default --enable-ip-alias --enable-private-nodes --master-ipv4-cidr 172.16.0.32/28 --cluster-ipv4-cidr=10.224.0.0/12 --no-enable-master-authorized-networks"
# --custom-tpu-nodepool-arguments=" --scopes=storage-full,gke-default --enable-gvnic --max-pods-per-node 15 --disk-size=50"

##### 5C #####################
# Scale up to NUMSLICES (64 in the provided case) V5e-256s.
Expand Down

0 comments on commit 7d5b566

Please sign in to comment.