Skip to content

Commit

Permalink
Add machine type and min/max nodes flags to cluster creation command
Browse files Browse the repository at this point in the history
A machine with more CPUs than default is required to meet the requirements
of some pods. A minimum of 3 nodes is required.
  • Loading branch information
Rob Percival committed Dec 3, 2018
1 parent 42e2a39 commit c5462e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion k8s/trillian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ Create a new cluster from the command line:
export CLUSTER=trillian-cluster
export ZONE=us-west1-a

gcloud container clusters create "$CLUSTER" --zone "$ZONE" --enable-autoscaling
gcloud container clusters create "$CLUSTER" \
--zone "$ZONE" --machine-type=n1-standard-2 \
--enable-autoscaling --min-nodes=3 --max-nodes=10
```

Configure `kubectl` to connect to the new cluster.
Expand Down

0 comments on commit c5462e2

Please sign in to comment.