* 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>
In the case alertingEndpoints is used, not every deployment may require an alertmanager with it. Prometheus will throw an alert in this case unless the rule is manually removed. This will just exlude the rule automatically should alertmanager be disabled.
Signed-off-by: Brian Nutt <brian@slice.com>
* condition each alerts
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* add documentation
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* remove double space
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* add kubernetesAbsent
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* fix condition on sync prometheus rules
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* run sync scripts to get new rules
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* update grafana dashboard
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* add rules configuration in test-values
Signed-off-by: Mathieu Herbert <mherbert@talend.com>
* [stable/prometheus-operator] add dashboards and rules sync scripts
Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>
* [stable/prometheus-operator] fix script to create dirs in case of their absence
Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>