summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_metrics/README.md')
-rw-r--r--roles/openshift_metrics/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_metrics/README.md b/roles/openshift_metrics/README.md
index d1b9a79a9..8c67d193d 100644
--- a/roles/openshift_metrics/README.md
+++ b/roles/openshift_metrics/README.md
@@ -64,6 +64,17 @@ For default values, see [`defaults/main.yaml`](defaults/main.yaml).
- `openshift_metrics_resolution`: How often metrics should be gathered.
+## Additional variables to control resource limits
+Each metrics component (hawkular, cassandra, heapster) can specify a cpu and memory limits and requests by setting
+the corresponding role variable:
+```
+openshift_metrics_<COMPONENT>_(limits|requests)_(memory|cpu): <VALUE>
+```
+e.g
+```
+openshift_metrics_cassandra_limits_memory: 1G
+openshift_metrics_hawkular_requests_cpu: 100
+```
Dependencies
------------