summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/defaults
diff options
context:
space:
mode:
authorJeff Cantrill <jcantrill@users.noreply.github.com>2016-12-15 15:46:10 -0500
committerJeff Cantrill <jcantril@redhat.com>2017-01-17 11:45:04 -0500
commitb335bd4e88d5ec50aa3106f789f4e08a8baac9b2 (patch)
tree130b5a1ed5cb5d40cc7226b4426073c71b82de65 /roles/openshift_metrics/defaults
parent9d0b2eed6f2b897280660949d12e09a3b7993b2b (diff)
downloadopenshift-b335bd4e88d5ec50aa3106f789f4e08a8baac9b2.tar.gz
openshift-b335bd4e88d5ec50aa3106f789f4e08a8baac9b2.tar.bz2
openshift-b335bd4e88d5ec50aa3106f789f4e08a8baac9b2.tar.xz
openshift-b335bd4e88d5ec50aa3106f789f4e08a8baac9b2.zip
allow definition of cpu/memory limits/resources (#11)
Diffstat (limited to 'roles/openshift_metrics/defaults')
-rw-r--r--roles/openshift_metrics/defaults/main.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/roles/openshift_metrics/defaults/main.yaml b/roles/openshift_metrics/defaults/main.yaml
index 4538099a3..ae24e1972 100644
--- a/roles/openshift_metrics/defaults/main.yaml
+++ b/roles/openshift_metrics/defaults/main.yaml
@@ -5,18 +5,30 @@ openshift_metrics_image_version: latest
openshift_metrics_master_url: https://kubernetes.default.svc.cluster.local
openshift_metrics_project: openshift-infra
openshift_metrics_startup_timeout: 500
+openshift_metrics_certs_dir: "{{ openshift.common.config_base }}/master/metrics"
openshift_metrics_hawkular_user_write_access: False
openshift_metrics_hawkular_replicas: 1
+openshift_metrics_hawkular_limits_memory: 2.5G
+openshift_metrics_hawkular_limits_cpu: null
+openshift_metrics_hawkular_requests_memory: 1.5G
+openshift_metrics_hawkular_requests_cpu: null
openshift_metrics_cassandra_nodes: 1
openshift_metrics_cassandra_storage_type: emptydir
openshift_metrics_cassandra_pv_prefix: metrics-cassandra
openshift_metrics_cassandra_pv_size: 10Gi
-openshift_metrics_certs_dir: "{{ openshift.common.config_base }}/master/metrics"
+openshift_metrics_cassandra_limits_memory: 2G
+openshift_metrics_cassandra_limits_cpu: null
+openshift_metrics_cassandra_requests_memory: 1G
+openshift_metrics_cassandra_requests_cpu: null
openshift_metrics_heapster_standalone: False
openshift_metrics_heapster_allowed_users: system:master-proxy
+openshift_metrics_heapster_limits_memory: 3.75G
+openshift_metrics_heapster_limits_cpu: null
+openshift_metrics_heapster_requests_memory: 0.9375G
+openshift_metrics_heapster_requests_cpu: null
openshift_metrics_duration: 7
openshift_metrics_resolution: 15s