Skip to content

Commit 21dcad5

Browse files
committed
Undo changes to GKE cluster create doc
Signed-off-by: Ryan O'Leary <[email protected]>
1 parent d3622bf commit 21dcad5

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

doc/source/cluster/kubernetes/user-guides/gcp-gke-tpu-cluster.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,10 @@ See the [GKE documentation](<https://cloud.google.com/kubernetes-engine/docs/how
66

77
## Step 1: Create a Kubernetes cluster on GKE
88

9-
Run the following commands on your local machine or on the [Google Cloud Shell](https://cloud.google.com/shell). If running from your local machine, install the [Google Cloud SDK](https://cloud.google.com/sdk/docs/install). The following examples use v4 TPU nodes, which are available in the us-central2-b compute region. For more information on TPU versions and their availability by region and zone, see [Plan TPUs in GKE](https://cloud.google.com/kubernetes-engine/docs/concepts/plan-tpus).
9+
Run the following commands on your local machine or on the [Google Cloud Shell](https://cloud.google.com/shell). If running from your local machine, install the [Google Cloud SDK](https://cloud.google.com/sdk/docs/install).
1010

11-
### GKE Autopilot
11+
Create a Standard GKE cluster and enable the Ray Operator in the us-central2-b compute region:
1212

13-
Create an Autopilot GKE cluster with the Ray Operator enabled:
14-
```sh
15-
gcloud container clusters create-auto kuberay-tpu-cluster \
16-
--enable-ray-operator \
17-
--cluster-version=1.30 \
18-
--location=us-central2
19-
```
20-
21-
### GKE Standard
22-
Create a Standard GKE cluster with the Ray Operator in the us-central2-b compute region:
2313
```sh
2414
gcloud container clusters create kuberay-tpu-cluster \
2515
--addons=RayOperator \
@@ -35,9 +25,9 @@ Create a node pool with a single-host TPU topology as follows:
3525
gcloud container node-pools create tpu-pool \
3626
--zone us-central2-b \
3727
--cluster kuberay-tpu-cluster \
38-
--num-nodes 0 \
28+
--num-nodes 1 \
3929
--min-nodes 0 \
40-
--max-nodes 4 \
30+
--max-nodes 10 \
4131
--enable-autoscaling \
4232
--machine-type ct4p-hightpu-4t \
4333
--tpu-topology 2x2x1
@@ -49,9 +39,9 @@ Alternatively, create a multi-host node pool as follows:
4939
gcloud container node-pools create tpu-pool \
5040
--zone us-central2-b \
5141
--cluster kuberay-tpu-cluster \
52-
--num-nodes 0 \
42+
--num-nodes 2 \
5343
--min-nodes 0 \
54-
--max-nodes 4 \
44+
--max-nodes 10 \
5545
--enable-autoscaling \
5646
--machine-type ct4p-hightpu-4t \
5747
--tpu-topology 2x2x2

0 commit comments

Comments
 (0)