Merge pull request #7678 from david-yu/patch-11

Add detail on why to use Prometheus on worker nodes
This commit is contained in:
David Deyo 2018-11-14 11:26:23 -08:00 committed by GitHub
commit 9c7e5b8ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -64,6 +64,8 @@ These are application-level metrics derived from the container platform itself.
## Deploy Prometheus on worker nodes
Universal Control Plane deploys Prometheus by default on the manager nodes to provide a built-in metrics backend. For cluster sizes over 100 nodes or for use cases where scraping metrics from the Prometheus instances are needed, we recommend that you deploy Prometheus on dedicated worker nodes in the cluster.
To deploy Prometheus on worker nodes in a cluster:
1. Begin by sourcing an admin bundle.
@ -76,7 +78,7 @@ To deploy Prometheus on worker nodes in a cluster:
ucp-metrics-hvkr7 3/3 Running 0 4h 192.168.80.66 3a724a-0
```
3. Add a Kubernetes node label to one or more workers. Here we add a label with key "ucp-metrics" and value "".
3. Add a Kubernetes node label to one or more workers. Here we add a label with key "ucp-metrics" and value "" to a node with name "3a724a-1".
```
$ kubectl label node 3a724a-1 ucp-metrics=