Files
deprecated-helm-charts/stable/prometheus-operator/hack
Vasily SliouniaevandKubernetes Prow Robot 894bbe0ebf [stable/prometheus-operator] Update defaults for scraping cluster components (#12292)
* Update defaults for scraping cluster components

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Remove custom scrape intervals

These were not consistent in some cases (kubelet http vs https
configuration). The best-practice for this is to allow the config
to come from prometheus's default.

Added configuration options to specify custom durations if overrides
are desired

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix kubelet secure configuration relabellings

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Add hack/minikube

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Update README.md with changes to defaults

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* chmod

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix up minikube

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix monitors when using defaults

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Update contributing.md

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-03-19 07:22:26 -07: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/prometheus-operator rules set
    • In order to modify these rules:
      # run following in contrib/kube-prometheus/ folder
      jb update
      make generate-in-docker
      
      • prepare and merge PR with imported changes into coreos/prometheus-operator
      • 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/prometheus-operator dashboards
    • In order to modify these dashboards:
      # run following in contrib/kube-prometheus/ folder
      jb update
      make generate-in-docker
      
      • prepare and merge PR with imported changes into coreos/prometheus-operator
      • 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.