Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs Installation use cluster size the same as dev #981

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
17 changes: 13 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,15 @@ 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
```

Flag explanations:

* cluster: The name of the cluster in which the node pool is created.
Expand Down