summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/defaults
diff options
context:
space:
mode:
authorJeff Cantrill <jcantrill@users.noreply.github.com>2017-01-06 11:23:28 -0500
committerJeff Cantrill <jcantril@redhat.com>2017-01-17 11:45:04 -0500
commit1e8928c96627218fdc422bfa3731f790699abfbb (patch)
tree32e948c473ac1bc359fb1318db1226a4c5646fc5 /roles/openshift_metrics/defaults
parent765fb5ce39fdca0b56a23f6d13650fe16debf20a (diff)
downloadopenshift-1e8928c96627218fdc422bfa3731f790699abfbb.tar.gz
openshift-1e8928c96627218fdc422bfa3731f790699abfbb.tar.bz2
openshift-1e8928c96627218fdc422bfa3731f790699abfbb.tar.xz
openshift-1e8928c96627218fdc422bfa3731f790699abfbb.zip
User provided certs pushed from control. vars reorg (#12)
Merging per discussion and agreement from @bbguimaraes
Diffstat (limited to 'roles/openshift_metrics/defaults')
-rw-r--r--roles/openshift_metrics/defaults/main.yaml27
1 files changed, 19 insertions, 8 deletions
diff --git a/roles/openshift_metrics/defaults/main.yaml b/roles/openshift_metrics/defaults/main.yaml
index c27943220..b99adf779 100644
--- a/roles/openshift_metrics/defaults/main.yaml
+++ b/roles/openshift_metrics/defaults/main.yaml
@@ -3,22 +3,19 @@ openshift_metrics_start_cluster: True
openshift_metrics_install_metrics: True
openshift_metrics_image_prefix: docker.io/openshift/origin-
openshift_metrics_image_version: latest
-openshift_metrics_master_url: https://kubernetes.default.svc.cluster.local
-openshift_metrics_project: openshift-infra
-openshift_metrics_certs_dir: "{{ openshift.common.config_base }}/master/metrics"
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_hawkular_cert: ""
+openshift_metrics_hawkular_key: ""
+openshift_metrics_hawkular_ca: ""
-openshift_metrics_cassandra_nodes: 1
+openshift_metrics_cassandra_replicas: 1
openshift_metrics_cassandra_storage_type: emptydir
-openshift_metrics_cassandra_pv_prefix: metrics-cassandra
openshift_metrics_cassandra_pv_size: 10Gi
openshift_metrics_cassandra_limits_memory: 2G
openshift_metrics_cassandra_limits_cpu: null
@@ -26,7 +23,6 @@ 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
@@ -34,4 +30,19 @@ openshift_metrics_heapster_requests_cpu: null
openshift_metrics_duration: 7
openshift_metrics_resolution: 15s
+
+#####
+# Caution should be taken for the following defaults before
+# overriding the values here
+#####
+
+openshift_metrics_certs_dir: "{{ openshift.common.config_base }}/master/metrics"
+openshift_metrics_master_url: https://kubernetes.default.svc.cluster.local
openshift_metrics_node_id: nodename
+openshift_metrics_project: openshift-infra
+
+openshift_metrics_cassandra_pv_prefix: metrics-cassandra
+
+openshift_metrics_hawkular_user_write_access: False
+
+openshift_metrics_heapster_allowed_users: system:master-proxy