Files
deprecated-helm-charts/stable/prometheus-operator/hack
Alex Williams 6ba8013533 [stable/prometheus-operator] Add namespace to all PrometheusRule objects (#19704)
* [stable/prometheus-operator] Add namespace to all PrometheusRule objects

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* prometheus-operator - modify sync_prometheus_rules.py for ns

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* Bump chart again to keep it +1 patch version

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* Revert changes to prometheus rule

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* set chart version to 8.5.3

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>
2020-01-06 11:57:18 -08:00
..

prometheus-operator hacks

sync_prometheus_rules.py

This script generates prometheus rules set for alertmanager from any properly formatted kubernetes yaml based on defined input, splitting rules to separate files based on group name.

Currently following imported:

  • coreos/kube-prometheus rules set
    • In order to modify these rules:

      jb update
      make generate-in-docker
      
      • prepare and merge PR with imported changes into coreos/kube-prometheus master and/or release branch
      • run sync_prometheus_rules.py inside your fork of this repo
      • send PR with changes to this repo
  • etcd-io/etc rules set
    • In order to modify these rules:
      • prepare and merge PR into etcd-io/etcd repo
      • run sync_prometheus_rules.py inside your fork of this repo
      • send PR with changes to this repo

sync_grafana_dashboards.py

This script generates grafana dashboards from json files, splitting them to separate files based on group name.

Currently following imported:

  • coreos/kube-prometheus dashboards
    • In order to modify these dashboards:

      jb update
      make generate-in-docker
      
      • prepare and merge PR with imported changes into coreos/kube-prometheus master and/or release branch
      • run sync_grafana_dashboards.py inside your fork of this repo
      • send PR with changes to this repo
  • etcd-io/etc dashboard
    • In order to modify this dashboard:
      • prepare and merge PR into etcd-io/etcd repo
      • run sync_grafana_dashboards.py inside your fork of this repo
      • send PR with changes to this repo

CoreDNS dashboard is the only dashboard which is maintained in this repo and can be changed without import.