36 Commits
Author SHA1 Message Date
Adin HodovicandGitHub 95ef651d4e Sync dashboards and alerting rules (#23325)
Fixes the hack script.

Signed-off-by: Adin Hodovic <hodovicadin@gmail.com>
2020-07-27 00:00:16 -07:00
Dan SextonandGitHub f191697fde [stable/prometheus-operator] Added option to disable kube-apiserver-availability rules (#23136)
Signed-off-by: Dan Sexton <dan.b.sexton@gmail.com>
2020-07-09 07:16:31 -07:00
msvechlaandGitHub eaad48166b [stable/prometheus-operator] possibility to add annotations to default dashboards (#22900)
* adapt sync script to add annotations to dashboards

Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* run sync_grafana_dashboards, add new value to values.yaml

Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* update readme for new grafana.sidecar.dashboards.annotations variable

Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* rebase

Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* fix trailing spaces

Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* fix namespace template
Signed-off-by: Marius Svechla <m.svechla@gmail.com>

* re-run sync_grafana_dashboards
Signed-off-by: Marius Svechla <m.svechla@gmail.com>
2020-07-09 03:18:02 -07:00
sczizzoandGitHub f8487e2350 [stable/prometheus-operator] Ensure all rules can be toggled (#22879)
* [stable/prometheus-operator] Ensure all rules can be toggled

Signed-off-by: Sean Clemmer <sean.clemmer@greenhouse.io>

* [stable/prometheus-operator] Bump chart verison to 8.15.7

Signed-off-by: Sean Clemmer <sean.clemmer@greenhouse.io>
2020-07-01 13:36:00 -07:00
88a5176022 make kube-apiserver-slos configurable via defaultRules.rules.kubeApiserverSlos (#22499)
Signed-off-by: Mario Hros <git@reversity.org>

Co-authored-by: Mario Hros <git@reversity.org>
2020-06-02 09:08:15 -07:00
Denis IskandarovandGitHub ebedffb345 [stable/prometheus-operator] proper sync of rules and dashboard with upstream (#22003)
* sync prometheus rules with upstream

Signed-off-by: Denis Iskandarov <d.iskandarov@gmail.com>

* sync grafana dashboards with upstream

Signed-off-by: Denis Iskandarov <d.iskandarov@gmail.com>

* fix link to coredns dashboard src

Signed-off-by: Denis Iskandarov <d.iskandarov@gmail.com>

* chart version bump

Signed-off-by: Denis Iskandarov <d.iskandarov@gmail.com>
2020-04-18 12:45:35 -07:00
iuri arandaandGitHub 62ae4a359c [stable/prometheus-operator] Re-sync prometheus rules and grafana dashboards (#21248)
* Re-sync prometheus rules

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Manually fix special notiation in prometheus rules

I see that this was previously manually fixed as well, so I kept it like before

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump chart version

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump patch version

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Fix Helm interpolation escaping in sync scripts

This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax.

As per https://github.com/helm/charts/pull/21248#issuecomment-595725478

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump patch version

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Remove unnecessary whitespace

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump patch version

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump prometheus-operator chart patch version

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Update prometheus rules gain

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Sync grafana dashboards as well

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>

* Bump patch version for prometheus-operator chart

Signed-off-by: iuri aranda <iuri@skyscrapers.eu>
2020-04-02 06:44:24 -07:00
6f5899874c [prometheus/stable] auto import of dashboards with helm template(helm 3) (#21263)
* [prometheus/stable] auto import of dashboards with helm template(helm 3)

Signed-off-by: gowrisankar <gowrisankar.m01@sap.com>

* Fix the chart version

Signed-off-by: gowrisankar <gowrisankar.m01@sap.com>

Co-authored-by: gowrisankarm <gowrisankar.m01@sap.com>
2020-03-05 01:30:38 -08:00
Valentin ZayashandGitHub e5c7915aa9 Change generated comments synatx to Helm template comments. (#21085)
Signed-off-by: Valentin Zayash <valioozz@gmail.com>
2020-02-27 05:03:28 -08:00
7ccc9f99d7 [stable/prometheus-operator] add config to enable or disable rules in kube-apiserver-error.yaml (#20466)
Signed-off-by: Qingkun Li <qingkun.li@bytedance.com>

Co-authored-by: Reinhard Nägele <unguiculus@gmail.com>
2020-02-19 06:12:25 -08:00
LucasBoisserieandKubernetes Prow Robot 4e63d49d3b Limit Alerts Scope (#19538)
Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
2020-01-14 01:41:08 -08:00
Sean JohnsonandKubernetes Prow Robot 71d5b06c15 [stable/prometheus-operator] add runbook_url prefix (#19810) (#19811)
* [stable/prometheus-operator] add runbook_url prefix (#19810)

Fixes #19810

This adds support for parametrising runbook_url configuration in the
default rules configuration and the sync script. Some minor rules updates
as the latest changes are pulled in by the sync script.

Signed-off-by: Sean Johnson <seanson@users.noreply.github.com>

* [stable/prometheus-operator] chart version bump

Signed-off-by: Sean Johnson <seanson@users.noreply.github.com>
2020-01-13 06:47:40 -08:00
Alex WilliamsandKubernetes Prow Robot 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
Vasilis RemmasandKubernetes Prow Robot c8410aaa83 [stable/prometheus-operator] Fix conditions in the default rule templates (#19335)
* Add more groups to address corner cases

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>

* Run sync_prometheus_rules.py

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>

* Bump chart version

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>

* Revert unrelated change

Signed-off-by: Vasilis Remmas <vasremm@gmail.com>
2019-12-07 03:55:08 -08:00
tiagomeirelesandKubernetes Prow Robot 6b3367d471 [stable/prometheus-operator] Prevent creating empty PrometheusRules. (#18619)
* [stable/prometheus-operator] Prevent creating empty PrometheusRules.

Signed-off-by: Tiago Meireles <tiago.meireles7@outlook.com>

* Bump chart version.

Signed-off-by: Tiago Meireles <tiago.meireles7@outlook.com>
2019-11-06 06:09:51 -08:00
Denis IskandarovandKubernetes Prow Robot 1d3125286d major sync of rules and dashboards from the upstream (#18564)
Signed-off-by: Denis Iskandarov <d.iskandarov@gmail.com>
2019-11-05 12:00:51 -08:00
Vasily SliouniaevandKubernetes Prow Robot 6d22112751 Fix several chart problems (#18430)
Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-11-02 12:27:39 -07:00
Vasily SliouniaevandKubernetes Prow Robot edecc9842d [stable/prometheus-operator] Up versions of operator, prometheus (#18528)
* Update core components

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

* Remove unsupported crdApiGroup param

This parameter already does not work and has not for many versions of
the operator, thus removing it is not a breaking change

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

* Fix {{ .Release to {{ $.Release

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-11-02 10:43:39 -07:00
Andrea SossoandKubernetes Prow Robot 5e34e5e1bb [stable/prometheus-operator] Fix installation dashboard and prometheus rules in k8s 1.16. (#18401)
Set max_kubernetes version to 9.9.9-9

Signed-off-by: Andrea Sosso <andrea@sosso.me>
2019-10-30 07:38:53 -07:00
Vasily SliouniaevandKubernetes Prow Robot fbe9c7e097 [stable/prometheus-operator] Remove CRD hooks from CI entirely (#18271)
* Remove CRD hooks from CI entirely

Installing the operator by itself will create CRDs in the cluster
idempotently. We can then run the rest of the tests safely

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

* Remove irrelevant value

This cannot be relied upon because "CRD deletion is slow". Despite this
being a closed bug it's still an issue https://github.com/helm/helm/issues/4489

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-10-28 05:31:26 -07:00
Karol PucyńskiandKubernetes Prow Robot 58f270cc5c [stable/prometheus-operator] updated grafana dashboards from upstream (#18109)
* updated grafana dashboards from upstream

Signed-off-by: Karol Pucynski <kpucynski@gmail.com>

* docs update

Signed-off-by: Karol Pucynski <kpucynski@gmail.com>

* chart version bump

Signed-off-by: Karol Pucynski <kpucynski@gmail.com>
2019-10-18 08:07:58 -07:00
Vasily SliouniaevandKubernetes Prow Robot 8112497500 Change node-exporter port to 9101 for tests (#18066)
Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-10-17 03:08:39 -07:00
Alastair FirthandKubernetes Prow Robot 72e4abed62 [stable/prometheus-operator] Add override for Kubernetes Version (#16994)
* add override to sync_* and README

Signed-off-by: afirth <afirth@users.noreply.github.com>

* sync upstream dashboards and rules

Signed-off-by: afirth <afirth@users.noreply.github.com>

* delete old rules and dashboards no longer in upstream

Signed-off-by: afirth <afirth@users.noreply.github.com>

* update manually created dashboards

Signed-off-by: afirth <afirth@users.noreply.github.com>

* bump chart version

Signed-off-by: afirth <afirth@users.noreply.github.com>
2019-09-09 09:31:19 -07:00
Matteo GazzettaandKubernetes Prow Robot 0ac9362279 Sync prometheus operator dashboard and rules (#16814)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-09-05 16:46:57 -07:00
Vasily SliouniaevandKubernetes Prow Robot 0efbcebb08 [stable/prometheus-operator] Lower dependency req (#16523)
* Lower dependency

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

* Resync rules and dashboards

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

* Bump version

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

* Remove anothertobi

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

* Fix cleanup flag

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

* Re-run sync

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-09-04 07:45:00 -07:00
Vasily SliouniaevandKubernetes Prow Robot eeee789c00 [stable/prometheus-operator] Fix several issues (#16264)
* Fix some bugs

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

* Resync rules for GKE kube version

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

* Add docs for GKE private clusters

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-08-13 03:57:41 -07:00
Matteo GazzettaandKubernetes Prow Robot 5ff1fc1bdc Sync prometheus operator dashboard and rules (#16230)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-08-12 15:11:37 -07:00
Carlos Alexandro BeckerandKubernetes Prow Robot d58247103f [stable/prometheus-operator] updated to 0.31.1 (#14943)
* feat: update prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: remove thanos-cluster port from examples

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: manual del/install crd

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: cleanup crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: update test-values

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: clusterrole

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: undo rules upgrade

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: fix readme

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* ci: cleanup crd before install

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* Clean up CRDs before install for CI

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-06-27 23:57:38 -07:00
Matteo GazzettaandKubernetes Prow Robot f6974d6307 Sync prometheus operator dashboard and rules (#12837)
Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
2019-04-17 08:22:04 -07:00
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
Brian NuttandKubernetes Prow Robot 610e47e34c [stable/prometheus-operator] Disable AlertmanagerDown alert if alertmanager is disabled (#12027)
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>
2019-03-18 13:00:28 -07:00
Dmitry VerkhoturovandKubernetes Prow Robot 28250ead20 [stable/prometheus-operator] Improve rules sync rules and description (#11617)
* [stable/prometheus-operator] bump kube-state-metrics

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] sync rules and dashboards

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] move rules to prometheus folder

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] clarify instructions for prometheus rules and grafana dashboards changes

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] add prometheus rules namespace replacement

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] add alertmanager-$1 replacement rule

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] major version bump, rename DeadMansSwitch alert to Watchdog

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>
2019-02-22 10:27:28 -08:00
JawshuaandKubernetes Prow Robot 8e946f3ea8 [stable/prometheus-operator] fix conditional rule inserts (#10935)
* [stable/prometheus-operator] Fix conditional rule insert bug

Signed-off-by: Joshua Welsh <Jawshua@users.noreply.github.com>

* [stable/prometheus-operator] Bump version

Signed-off-by: Joshua Welsh <Jawshua@users.noreply.github.com>
2019-01-31 04:32:51 -08:00
Mathieu HerbertandKubernetes Prow Robot e0c72d4805 [stable/prometheus-operator]: Add specific condition for each alerts (#10890)
* 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>
2019-01-29 08:57:00 -08:00
Dmitry VerkhoturovandKubernetes Prow Robot 0d8aa34edd [stable/prometheus-operator] adjust dashboards and rules sync (#10794)
* [stable/prometheus-operator] Enable etcd rules import

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Disable coredns dashboard sync

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Fix typos

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Bump version

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>
2019-01-24 07:05:59 -08:00
Dmitry VerkhoturovandKubernetes Prow Robot ec50b6265a [stable/prometheus-operator] Add sync scripts (#10488)
* [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>
2019-01-10 09:15:25 -08:00