2020-12-18 00:46:15 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-04-25 09:59:54 +00:00
|
|
|
VERSION=15.2.0
|
2020-12-18 00:46:15 +00:00
|
|
|
|
|
|
|
rm -rf charts/kube-prometheus-stack
|
|
|
|
curl -L -s -o - https://github.com/prometheus-community/helm-charts/releases/download/kube-prometheus-stack-${VERSION}/kube-prometheus-stack-${VERSION}.tgz | tar xfz - -C charts
|
|
|
|
|
2021-04-15 13:03:52 +00:00
|
|
|
# The grpc alerts could be re-enabled with etcd 3.5
|
|
|
|
# https://github.com/etcd-io/etcd/pull/12196
|
2021-04-26 14:27:19 +00:00
|
|
|
patch -p0 -i metrics-zdt.patch --no-backup-if-mismatch
|
|
|
|
|
|
|
|
# Create ZDT dashboard configmap
|
|
|
|
./sync_grafana_dashboards.py dashboards/kube-mixin.yaml templates/grafana-dashboards.yaml
|