diff --git a/nats-on-kubernetes/create-k8s-cluster.md b/nats-on-kubernetes/create-k8s-cluster.md index d093c75..8b03d66 100644 --- a/nats-on-kubernetes/create-k8s-cluster.md +++ b/nats-on-kubernetes/create-k8s-cluster.md @@ -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