2020-12-18 00:46:15 +00:00
|
|
|
#!/bin/bash
|
2021-12-15 22:19:52 +00:00
|
|
|
set -ex
|
2020-12-18 00:46:15 +00:00
|
|
|
|
2023-08-22 13:02:40 +00:00
|
|
|
. ../../scripts/lib-update.sh
|
2022-10-27 12:27:42 +00:00
|
|
|
|
2023-08-22 13:02:40 +00:00
|
|
|
#login_ecr_public
|
|
|
|
update_helm
|
2021-07-21 13:06:40 +00:00
|
|
|
|
2021-09-28 14:02:33 +00:00
|
|
|
# Create ZDT dashboard, alerts etc configmaps
|
2022-04-20 09:12:01 +00:00
|
|
|
cd jsonnet && make
|
2021-07-01 13:09:51 +00:00
|
|
|
|
2021-06-01 16:40:34 +00:00
|
|
|
../sync_grafana_dashboards.py metrics-dashboards.yaml ../templates/grafana-dashboards-metrics.yaml
|
2021-04-27 09:17:50 +00:00
|
|
|
../sync_grafana_dashboards.py k8s-dashboards.yaml ../templates/grafana-dashboards-k8s.yaml
|
|
|
|
../sync_grafana_dashboards.py zdt-dashboards.yaml ../templates/grafana-dashboards-zdt.yaml
|
2021-09-28 14:02:33 +00:00
|
|
|
|
|
|
|
../sync_prometheus_rules.py k8s-rules.yaml ../templates/rules
|
2021-04-27 09:17:50 +00:00
|
|
|
cd -
|
2021-09-27 15:34:47 +00:00
|
|
|
|
2021-09-28 14:02:33 +00:00
|
|
|
# Delete not used upstream dashboards or rules
|
|
|
|
rm -rf charts/kube-prometheus-stack/templates/grafana/dashboards-1.14 charts/kube-prometheus-stack/templates/prometheus/rules-1.14
|
2023-11-27 12:45:06 +00:00
|
|
|
|
|
|
|
update_docs
|