Unverified Commit 289e6cd9 authored by Rajesh Rajendran's avatar Rajesh Rajendran Committed by GitHub
Browse files

Adding override for monitoring helm charts addition (#2281)


If you want to add one more chart in to the monitoring stack,
Rather than overriding the complete variable,
you can override it in common.yaml

Signed-off-by: default avatarRajesh Rajendran <rajesh.r@optit.co>
parent a171f1a1
master login-changes loginRegisterBtn prasath-release-5.1.0 release-5.1.0 release-5.1.0-api release-5.1.0-apiuat release-5.1.0-bulk-enrol-unenrol release-5.1.0-uat release-5.1.0-uatLatest release-5.1.0-uatapi release-5.1.0-upsmf-prod release-uat-nginx revert-5-login-changes upstream/release-5.1.0-vdn release-5.2.0-inquiry_RC1 release-5.1.0_RC3 release-5.1.0_RC2 release-5.1.0_RC1 release-5.0.2 release-5.0.2_RC1 release-5.0.1 release-5.0.1_RC1 release-5.0.0 release-5.0.0_RC5 release-5.0.0_RC4 release-5.0.0_RC3 release-5.0.0_RC2 release-5.0.0_RC1 release-4.10.2_RC1 release-4.10.1 release-4.10.1_RC2 release-4.10.1_RC1 release-4.10.0 release-4.10.0_RC1 release-4.9.0 release-4.9.0_RC4 release-4.9.0_RC3 release-4.9.0_RC2 release-4.9.0_RC1 release-4.8.0 release-4.8.0_RC8 release-4.8.0_RC7 release-4.8.0_RC6 release-4.8.0_RC5 release-4.8.0_RC4 release-4.8.0_RC3 release-4.8.0_RC2 release-4.8.0_RC1 release-4.7.0 release-4.7.0_RC3 release-4.7.0_RC2 release-4.7.0_RC1 release-4.6.0 release-4.6.0_RC4 release-4.6.0_RC3 release-4.6.0_RC2 release-4.6.0_RC1 release-4.5.0 release-4.5.0_RC6 release-4.5.0_RC5 release-4.5.0_RC4 release-4.5.0_RC3 release-4.5.0_RC2 release-4.5.0_RC1 release-4.4.1_RC2 release-4.4.1_RC1 release-4.4.0 release-4.4.0_RC10 release-4.4.0_RC9 release-4.4.0_RC8 release-4.4.0_RC7 release-4.4.0_RC6 release-4.4.0_RC5 release-4.4.0_RC4 release-4.4.0_RC3 release-4.4.0_RC2 release-4.4.0_RC1 release-4.3.0 release-4.3.0_RC7 release-4.3.0_RC6 release-4.3.0_RC5 release-4.3.0_RC4 release-4.3.0_RC3 release-4.3.0_RC2 release-4.3.0_RC1 release-4.2.0 release-4.2.0_RC6 release-4.2.0_RC5 release-4.2.0_RC4 release-4.2.0_RC3 release-4.2.0_RC2 release-4.2.0_RC1 release-4.1.0 release-4.1.0_RC20 release-4.1.0_RC19 release-4.1.0_RC18 release-4.1.0_RC17 release-4.1.0_RC16 release-4.1.0_RC15 release-4.1.0_RC14 release-4.1.0_RC13 release-4.1.0_RC12 release-4.1.0_RC11 release-4.1.0_RC10 release-4.1.0_RC9 release-4.1.0_RC8 release-4.1.0_RC7 release-4.1.0_RC6 release-4.1.0_RC5 release-4.1.0_RC4 release-4.1.0_RC3 release-4.1.0_RC2 release-4.1.0_RC1 release-4.0.0 release-4.0.0_RC6 release-4.0.0_RC5 release-4.0.0_RC4 release-4.0.0_RC3 release-4.0.0_RC2 release-4.0.0_RC1 release-3.9.0 release-3.9.0_RC18 release-3.9.0_RC17 release-3.9.0_RC16 release-3.9.0_RC15 release-3.9.0_RC14 release-3.9.0_RC13 release-3.9.0_RC12 release-3.9.0_RC11 release-3.9.0_RC10 release-3.9.0_RC9 release-3.9.0_RC8 release-3.9.0_RC7 release-3.9.0_RC6 release-3.9.0_RC5 release-3.9.0_RC4 release-3.9.0_RC3 release-3.9.0_RC2 release-3.9.0_RC1 release-3.8.0 release-3.8.0_RC14 release-3.8.0_RC13 release-3.8.0_RC12 release-3.8.0_RC11 release-3.8.0_RC10 release-3.8.0_RC9 release-3.8.0_RC8 release-3.8.0_RC7 release-3.8.0_RC6 release-3.8.0_RC5 release-3.8.0_RC4 release-3.8.0_RC3 release-3.8.0_RC2 release-3.8.0_RC1 release-3.7.0_RC16 release-3.7.0_RC15 release-3.7.0_RC14 release-3.7.0_RC13 release-3.7.0_RC12 release-3.7.0_RC11 release-3.7.0_RC10 release-3.7.0_RC9 release-3.7.0_RC8 release-3.7.0_RC7 release-3.7.0_RC6 release-3.7.0_RC5 release-3.7.0_RC4 keycloak7_RC1
No related merge requests found
Showing with 21 additions and 16 deletions
+21 -16
......@@ -12,17 +12,23 @@ monitoring_stack:
- kafka-topic-exporter
- prometheus-redis-exporter
- processing-kafka-exporter
- azure-ambari-prometheus-exporter
# Variable to add additional charts in monitoring.
# eg:
# monitoring_stack_additional_charts:
# - custom_chart1
# - custom_monitoring_chart2
monitoring_stack_additional_charts:
namespace: monitoring
monitor_alerts_mail_from_email:
monitor_alerts_mail_server_host:
monitor_alerts_mail_from_email:
monitor_alerts_mail_server_host:
monitor_alerts_mail_server_port: 587
monitor_alerts_mail_server_username:
monitor_alerts_mail_server_password:
monitor_alerts_slack_url:
monitor_alerts_slack_channel:
monitor_alerts_mail_server_username:
monitor_alerts_mail_server_password:
monitor_alerts_slack_url:
monitor_alerts_slack_channel:
env: dev
kubernetes_cluster_name: kubernetes-1
#dp_monitor_alerts_slack_channel: "{{ monitor_alerts_slack_channel }}"
......@@ -69,7 +75,7 @@ alert_teams:
- cassandra_.*
- elasticsearch_.*
- logstash_.*
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ lp_process_exporter_team_mailing_list_critical }}"
- severity: fatal
......@@ -85,7 +91,7 @@ alert_teams:
- historical.*
- broker.*
- middle-Manager.*
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ druid_team_mailing_list_critical }}"
- severity: fatal
......@@ -100,7 +106,7 @@ alert_teams:
- kafka_.*
- zookeeper_.*
- yarn_.*
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ dp_process_exporter_team_mailing_list_critical }}"
- severity: fatal
......@@ -110,7 +116,7 @@ alert_teams:
alerts_mailing_list: "{{ node_exporter_team_mailing_list }}"
services:
- .*node-exporter
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ node_exporter_team_mailing_list_critical }}"
- severity: fatal
......@@ -120,7 +126,7 @@ alert_teams:
alerts_mailing_list: "{{ elasticsearch_exporter_team_mailing_list }}"
services:
- .*elasticsearch-exporter
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ elasticsearch_exporter_team_mailing_list_critical }}"
- severity: fatal
......@@ -130,7 +136,7 @@ alert_teams:
alerts_mailing_list: "{{ blackbox_exporter_team_mailing_list }}"
services:
- .*-service
severity_mailing_filter:
severity_mailing_filter:
- severity: critical
alerts_mailing_list: "{{ blackbox_exporter_team_mailing_list_critical }}"
- severity: fatal
......@@ -214,4 +220,3 @@ redis_process_names: ""
vault_azure_spark_cluster_http_password: ""
azure_spark_cluster_http_password: "{{ vault_azure_spark_cluster_http_password }}"
......@@ -4,11 +4,11 @@
template:
src: "{{ item }}.yaml"
dest: "/tmp/{{item}}.yaml"
with_items: "{{ monitoring_stack }}"
with_items: "{{ monitoring_stack + monitoring_stack_additional_charts }}"
- name: Creating sunbird monitoring stack
shell: helm upgrade --install --atomic --timeout {{helm_install_timeout | d("10m")}} {{ item }} {{chart_path}}/{{ item }} --namespace monitoring -f /tmp/{{ item }}.yaml
with_items: "{{ monitoring_stack }}"
with_items: "{{ monitoring_stack + monitoring_stack_additional_charts }}"
- name: Creating sunbird monitoring grafana dashboards
shell: "helm upgrade --install grafana-dashboards {{chart_path}}/dashboards --namespace monitoring"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment