1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Merge pull request #51 from nats-io/wallyqs-patch-1

Add more info related to creating gke clusters
This commit is contained in:
Ginger Collison 2020-02-10 12:17:45 -06:00 committed by GitHub
commit 77b1848373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. If you are 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