mirror of https://git.rancher.io/charts
63af4011e1
```bash
git fetch upstream
git checkout upstream/dev-v2.5-source -- packages; git reset HEAD; git checkout -- packages/README.md
```
(partially cherry picked from commit
|
||
---|---|---|
.. | ||
minikube | ||
README.md | ||
requirements.txt | ||
sync_grafana_dashboards.py | ||
sync_prometheus_rules.py | ||
update_crds.sh |
README.md
kube-prometheus-stack 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:
- prometheus-operator/kube-prometheus rules set
-
In order to modify these rules:
- prepare and merge PR into kubernetes-mixin master and/or release branch
- run import inside your fork of prometheus-operator/kube-prometheus
jb update make generate
- prepare and merge PR with imported changes into
prometheus-operator/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/website rules set
- In order to modify these rules:
- prepare and merge PR into etcd-io/website repo
- run sync_prometheus_rules.py inside your fork of this repo
- send PR with changes to this repo
- In order to modify these rules:
sync_grafana_dashboards.py
This script generates grafana dashboards from json files, splitting them to separate files based on group name.
Currently following imported:
- prometheus-operator/kube-prometheus dashboards
-
In order to modify these dashboards:
- prepare and merge PR into kubernetes-mixin master and/or release branch
- run import inside your fork of prometheus-operator/kube-prometheus
jb update make generate
- prepare and merge PR with imported changes into
prometheus-operator/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/website dashboard
- In order to modify this dashboard:
- prepare and merge PR into etcd-io/website repo
- run sync_grafana_dashboards.py inside your fork of this repo
- send PR with changes to this repo
- In order to modify this dashboard:
CoreDNS dashboard is the only dashboard which is maintained in this repo and can be changed without import.