mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Update create-k8s-cluster.md
This commit is contained in:
parent
4a7b982d23
commit
027b3425ab
@ -5,7 +5,7 @@ cluster to try NATS on multiple clouds.
|
||||
|
||||
## Google Kubernetes Engine
|
||||
|
||||
Use [gcloud](https://cloud.google.com/sdk/gcloud/) to create a 3 node Kubernetes cluster:
|
||||
Use [gcloud](https://cloud.google.com/sdk/gcloud/) to create a 3 node [regional](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-regional-cluster) Kubernetes cluster on `us-west2`.
|
||||
|
||||
```sh
|
||||
# Create a 3 node Kubernetes cluster. One node in each of the region's three zones.
|
||||
@ -16,6 +16,9 @@ gcloud container clusters create nats-k8s-cluster \
|
||||
--machine-type n1-standard-2
|
||||
```
|
||||
|
||||
Note that since this is a regional cluster we are specifying `--num-nodes 1` which will create a kubelet on 3 different zones. In case of creating a [single-zone cluster](https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster) but want 3 nodes then you have to specify `--num-nodes 3`.
|
||||
|
||||
|
||||
## Amazon Kubernetes Service
|
||||
|
||||
The [eksctl](https://github.com/weaveworks/eksctl) is a very helpful
|
||||
|
Loading…
x
Reference in New Issue
Block a user