|
@@ -5,11 +5,46 @@ openshift_prometheus_node_exporter_install: true
|
|
|
|
|
|
openshift_prometheus_namespace: openshift-metrics
|
|
|
|
|
|
+# Need to standardise these tags
|
|
|
+l_openshift_prometheus_version_dict:
|
|
|
+ origin:
|
|
|
+ prometheus: 'v2.2.1'
|
|
|
+ alert_manager: 'v0.14.0'
|
|
|
+ alert_buffer: 'v0.0.2'
|
|
|
+ node_exporter: 'v0.15.2'
|
|
|
+ openshift-enterprise:
|
|
|
+ prometheus: "{{ openshift_image_tag }}"
|
|
|
+ alert_manager: "{{ openshift_image_tag }}"
|
|
|
+ alert_buffer: "{{ openshift_image_tag }}"
|
|
|
+ node_exporter: "{{ openshift_image_tag }}"
|
|
|
+
|
|
|
+l_openshift_prometheus_alertmanager_version: "{{ l_openshift_prometheus_version_dict[openshift_deployment_type]['alert_manager'] }}"
|
|
|
+l_openshift_prometheus_alertmanager_image: "{{ l_os_logging_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_openshift_prometheus_alertmanager_version) }}"
|
|
|
+openshift_prometheus_alertmanager_image: "{{ l_openshift_prometheus_alertmanager_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'prometheus-alertmanager') }}"
|
|
|
+
|
|
|
+l_openshift_prometheus_alertbuffer_version: "{{ l_openshift_prometheus_version_dict[openshift_deployment_type]['alert_buffer'] }}"
|
|
|
+l_openshift_prometheus_alertbuffer_image: "{{ l_os_logging_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_openshift_prometheus_alertbuffer_version) }}"
|
|
|
+openshift_prometheus_alertbuffer_image: "{{ l_openshift_prometheus_alertbuffer_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'prometheus-alert-buffer') }}"
|
|
|
+
|
|
|
+l_openshift_prometheus_node_exporter_version: "{{ l_openshift_prometheus_version_dict[openshift_deployment_type]['node_exporter'] }}"
|
|
|
+l_openshift_prometheus_node_exporter_image: "{{ l_os_logging_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_openshift_prometheus_node_exporter_version) }}"
|
|
|
+openshift_prometheus_node_exporter_image: "{{ l_openshift_prometheus_node_exporter_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'prometheus-node-exporter') }}"
|
|
|
+
|
|
|
+l_openshift_prometheus_version: "{{ l_openshift_prometheus_version_dict[openshift_deployment_type]['prometheus'] }}"
|
|
|
+l_openshift_prometheus_image: "{{ l_os_logging_non_standard_reg_url | regex_replace('${version}' | regex_escape, l_openshift_prometheus_version) }}"
|
|
|
+openshift_prometheus_image: "{{ l_openshift_prometheus_image | regex_replace(l_os_logging_non_standard_reg_search | regex_escape, 'prometheus') }}"
|
|
|
+
|
|
|
+openshift_prometheus_proxy_image: "{{ l2_os_logging_proxy_image }}"
|
|
|
+
|
|
|
# defaults hosts for routes
|
|
|
openshift_prometheus_hostname: prometheus-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}
|
|
|
openshift_prometheus_alerts_hostname: alerts-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}
|
|
|
openshift_prometheus_alertmanager_hostname: alertmanager-{{openshift_prometheus_namespace}}.{{openshift_master_default_subdomain}}
|
|
|
|
|
|
+l_openshift_prometheus_image_version: "{{ openshift_prometheus_image_version | default('v2.2.1') }}"
|
|
|
+l_openshift_prometheus_alertmanager_image_version: "{{ openshift_prometheus_alertmanager_image_version | default('v0.14.0') }}"
|
|
|
+l_openshift_prometheus_alertbuffer_image_version: "{{ openshift_prometheus_alertbuffer_image_version | default('v0.0.2') }}"
|
|
|
+l_openshift_prometheus_node_exporter_image_version: "{{ openshift_prometheus_node_exporter_image_version | default('v0.15.2') }}"
|
|
|
|
|
|
openshift_prometheus_node_selector: {"node-role.kubernetes.io/infra":"true"}
|
|
|
|