Skip to content

Commit

Permalink
Docs Installation use cluster size the same as dev
Browse files Browse the repository at this point in the history
Update Installation instructions, use 4 n1-standard-4 cluster as in
cluster.yml.jinja (make gcloud-test-cluster), add Metrics node pool.
  • Loading branch information
aLekSer committed Aug 13, 2019
1 parent 3f98346 commit 028bca9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Install Prometheus server using [stable/prometheus](https://github.com/helm/char

By default all exporters and alertmanager is disabled.

You can use this to collect Agones [Metrics](../docs/metrics.md).
You can use this to collect Agones [Metrics](../site/content/en/docs/Guides/metrics.md).

See [`make minikube-setup-prometheus`](#make-minikube-setup-prometheus) and [`make kind-setup-prometheus`](#make-kind-setup-prometheus) to run the installation on Minikube or Kind.

Expand Down
18 changes: 14 additions & 4 deletions site/content/en/docs/Installation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,17 @@ A [cluster][cluster] consists of at least one *cluster master* machine and multi
gcloud container clusters create [CLUSTER_NAME] --cluster-version=1.12 \
--tags=game-server \
--scopes=gke-default \
--num-nodes=3 \
--machine-type=n1-standard-2
--num-nodes=4 \
--machine-type=n1-standard-4
```

Flag explanations:

* cluster-version: Agones requires Kubernetes version 1.12.
* tags: Defines the tags that will be attached to new nodes in the cluster. This is to grant access through ports via the firewall created in the next step.
* scopes: Defines the Oauth scopes required by the nodes.
* num-nodes: The number of nodes to be created in each of the cluster's zones. Default: 3
* machine-type: The type of machine to use for nodes. Default: n1-standard-2. Depending on the needs of you game, you may wish to [have a bigger machines](https://cloud.google.com/compute/docs/machine-types).
* num-nodes: The number of nodes to be created in each of the cluster's zones. Default: 4. Depending on the needs of your game, this parameter should be adjusted.
* machine-type: The type of machine to use for nodes. Default: n1-standard-4. Depending on the needs of your game, you may wish to [have smaller or larger machines](https://cloud.google.com/compute/docs/machine-types).
_Optional_: Create a dedicated node pool for the Agones controllers. If you choose to skip this step, the Agones
controllers will share the default node pool with your game servers which is fine for kicking the tires but is not
Expand All @@ -124,6 +124,16 @@ gcloud container node-pools create agones-system \
--num-nodes=1
```
_Optional_: Create a node pool for [Metrics]({{< relref "../Guides/metrics.md" >}}) if you want to monitor the Agones system using Prometheus with Grafana or Stackdriver.
```bash
gcloud container node-pools create agones-metrics \
--cluster=[CLUSTER_NAME] \
--node-taints agones.dev/agones-metrics=true:NoExecute \
--node-labels agones.dev/agones-metrics=true \
--num-nodes=1
```
{{% /feature %}}
Flag explanations:
* cluster: The name of the cluster in which the node pool is created.
Expand Down

0 comments on commit 028bca9

Please sign in to comment.