Commit Graph
855 Commits
Author SHA1 Message Date
Scott Rigby 2def50db09 Add basic Helm gitignore
Signed-off-by: Scott Rigby <scott@r6by.com>
2020-08-08 18:24:11 -04:00
Sören JentzschandGitHub 0bf62e2402 [stable/prometheus-operator] add missing Grafana Annotations to k8s-coredns dashboard (#23353)
* [stable/prometheus-operator] add missing grafana.sidecar.dashboards.annotations to k8s-coredns dashboard

Signed-off-by: Sören Jentzsch <me@sjentzsch.de>

* [stable/prometheus-operator] increase version of chart

Signed-off-by: Sören Jentzsch <me@sjentzsch.de>
2020-08-04 13:28:21 -07:00
NikolayandGitHub d68781eda4 [stable/prometheus-blackbox-exporter] added network policy (#23273)
* [stable/prometheus-blackbox-exporter] added network policy

Signed-off-by: Nikolay Aksenov <aksenk55@gmail.com>

* [stable/prometheus-blackbox-exporter] upd api version for networkpolicy

Signed-off-by: Nikolay Aksenov <aksenk55@gmail.com>
2020-08-04 00:52:18 -07:00
Siarhei BareikaandGitHub bfd23e839c fix(helm#23318): [stable/prometheus-blackbox-exporter] (#23319)
fix PodSecurityPolicy to fit NET_RAW Capability

Signed-off-by: Siarhei Bareika <hood.box@gmail.com>
2020-08-03 13:35:30 -07:00
Maxim MakarovandGitHub 49ee0f531a [stable/prometheus-blackbox-exporter] remove replicas and strategy keys from daemonset template (#23421)
Signed-off-by: Maxim Makarov <maxpain177@gmail.com>
2020-08-03 00:35:40 -07:00
Ahmed NasirandGitHub 0e10f482c9 [stable/prometheus] Added init containers for prometheus server stateful set. (#23389)
* added init containers for prometheus server stateful set.

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>

* bumped version of the chart.

Signed-off-by: Ahmed Nasir <ahmednasir91@gmail.com>
2020-07-29 13:04:04 -07:00
Mike RitterandGitHub 8ad2766812 [stable/prometheus-operator] add ingress for Thanos sidecar, update k… (#23200)
* [stable/prometheus-operator] add ingress for Thanos sidecar, update kubelet svc

Signed-off-by: Mike Ritter <mike.ritter@target.com>

* [stable/prometheus-operator] set version

Signed-off-by: Mike Ritter <mike.ritter@target.com>

* removed trailing spaces

Signed-off-by: Mike Ritter <mike.ritter@target.com>

* version bump

Signed-off-by: Mike Ritter <mike.ritter@target.com>

* Added comment related to ingress controller requirements

Signed-off-by: Mike Ritter <mike.ritter@target.com>
2020-07-29 12:38:02 -07:00
aperigaultandGitHub 81cb4ea11f prometheus-cloudwatch-exporter: Add containerPort, livenessProbe.path and readinessProbe.path variables (#22923)
Signed-off-by: Antony Perigault <antony.perigault@polyconseil.fr>
2020-07-27 10:56:17 -07:00
Mickaël CanévetandGitHub e93be4bc9f Fix blackbox target's metrics labels (#22546)
The metrics labels currently generated does not match what is generated
by the setup described here: https://prometheus.io/docs/guides/multi-target-exporter/#querying-multi-target-exporters-with-prometheus
and https://github.com/prometheus/blackbox_exporter#prometheus-configuration

The previous metricsRelabeling is only valid if the target contains the URLs to
check.

What we need in the end is:
- `__address__` set to the blackbox exporter, and it it already the case
as the `selector` matches the blackbox exporter,
- `__param_target` set to the target to check, and it is already ensure
without relabeling,
- `instance` set to the target to check.

This patches ensures that the metrics has this labels:

```
probe_success{endpoint="http",instance="http://prometheus.io",job="blackbox-exporter-prometheus-blackbox-exporter",namespace="monitoring",pod="blackbox-exporter-prometheus-blackbox-exporter-84d9b64646-vgqcc",service="blackbox-exporter-prometheus-blackbox-exporter"} 1
```

Without this patch, we have this (note that we lost the `instance` label):

```
probe_success{endpoint="http",job="blackbox-exporter-prometheus-blackbox-exporter",namespace="monitoring",pod="blackbox-exporter-prometheus-blackbox-exporter-84d9b64646-vgqcc",service="blackbox-exporter-prometheus-blackbox-exporter",target="prometheus-io"} 1
```

Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>
2020-07-27 09:40:18 -07:00
Calvin BuiandGitHub 8d4011a9d1 [stable/prometheus-mongodb-exporter] Add ServiceMonitor metricRelabelings (#23290)
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2020-07-27 08:20:18 -07:00
Calvin BuiandGitHub 8ee63ab040 [stable/prometheus-mysql-exporter] Add ServiceMonitor metricRelabeling (#23352)
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2020-07-27 07:22:18 -07:00
Klavs KlavsenandGitHub 1c8a287368 [stable/prometheus] add alertmanger useExistingRole support (#23349)
* add alertmanger useExistingRole support

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* bump chart version

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* lint fix - hopefully

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* proper version bump and add README docs.

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>
2020-07-27 03:20:18 -07:00
Miroslav HadzhievandGitHub 0d428b886e [stable/prometheus] Document in README and Values "enableServiceLinks" (#23346)
* Values file comment fix. Document enableServiceLinks.

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* document fix for enableServiceLinks

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* small typo fix

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* better explanation for EnableServiceLinks

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* bump chart ver.

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* clearer EnableServiceLinks warning

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
2020-07-27 01:10:17 -07:00
Adin HodovicandGitHub 3cd93a51c9 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
Michael MerrillandGitHub f40afc894b [prometheus-operator] Fixing scope issue (#23014) (#23022)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
2020-07-22 16:19:39 -07:00
Mohammad AbdoliradandGitHub 577301473b [stable/prometheus] Disable "enableServiceLinks" on Kubernetes prior 1.13 (#23299)
* [stable/prometheus] Disable "enableServiceLinks" on Kubernetes prior 1.13

Signed-off-by: Mohammad Abdolirad <m.abdolirad@gmail.com>

* [stable/prometheus] Chart Version bumped

Signed-off-by: Mohammad Abdolirad <m.abdolirad@gmail.com>
2020-07-22 13:19:40 -07:00
Calvin BuiandGitHub cd646349f1 [stable/prometheus-redis-exporter] Add ServiceMonitor metricRelabelings (#23289)
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2020-07-22 03:38:06 -07:00
Omer Levi HevroniandGitHub 902a1e6c1c prometheus-operator/added volumeMounts and volume (#23047)
Signed-off-by: omerlh <omer.levihevroni@snyk.io>
2020-07-22 02:54:04 -07:00
Maciej MoledaandGitHub 1272318d15 [stable/prometheus-operator] fix prometheus additionalScrapeConfigsSecret (#23286)
Signed-off-by: Maciej Moleda <maciej@moleda.eu>
2020-07-22 02:22:05 -07:00
Miroslav HadzhievandGitHub 37fedd669e add a new owner and approver (#23276)
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
2020-07-21 13:50:05 -07:00
codinautandGitHub 845204067a [stable/prometheus-operator] Fix ordering (#23260)
Signed-off-by: Daniel <codinaut@gmail.com>
2020-07-21 08:05:14 -07:00
Miroslav HadzhievandGitHub 375990eecd [stable/prometheus] Organized Templates Directory. Add ".gitignore". (#23186)
* organized templates dir

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* shorten the filenames

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* bump chart version again

Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
2020-07-21 03:11:14 -07:00
William JohanssonandGitHub ca5351a65c [stable/prometheus] bump alertmanager v0.21.0 and prometheus v2.19.2 (#23253)
* Bump Alertmanager version to v0.21.0

Signed-off-by: William Johansson <radar@radhuset.org>

* Bump Prometheus to 2.19.2

Signed-off-by: William Johansson <radar@radhuset.org>
2020-07-20 18:25:15 -07:00
William TavaresandGitHub fdfe0779c1 Possibility to also add a custom key in the secret (#23262)
Signed-off-by: William Tavares <wtc@hellofresh.com>
2020-07-20 10:00:52 -07:00
Yong Wen ChuaandGitHub 37a1ba3182 [stable/prometheus-consul-exporter] Fix PSP apiVersion (#22834)
Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
2020-07-18 06:02:50 -07:00
Stevo SlavićandGitHub 345feef024 [stable/prometheus-adapter] Upgrading to v0.7.0 (#23245)
Signed-off-by: Stevo Slavić <sslavic@gmail.com>
2020-07-17 14:46:50 -07:00
Gabriel MartinezandGitHub 7c798403f5 [stable/prometheus-operator] Add docker checksum option (#23194)
* [stable/prometheus-operator] Allow specifying checksum for docker images

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>

* [stable/prometheus-operator] Don't specify default digest for docker images

Signed-off-by: Gabriel Martinez <gabrielmartinez@sisti.pt>
2020-07-17 03:09:01 -07:00
Manuel RügerandGitHub 7e65a6ad75 [stable/prometheus-operator] Version bump alertmanager and prometheus (#23150)
* [stable/prometheus-operator] Version bump prometheus to 2.18.2

https://github.com/prometheus/prometheus/releases/tag/v2.18.2

Signed-off-by: Manuel Rüger <manuel@rueg.eu>

* [stable/prometheus-operator] Version bump alertmanager to 0.21.0

https://github.com/prometheus/alertmanager/releases/v0.21.0
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-07-15 07:10:38 -07:00
alexandercccandGitHub 6388d0b1b8 [stable/prometheus-operator] Version bump, deprecation of additionalScrapeConfigsExternal (#23147)
* Version bump, deprecation of additionalScrapeConfigsExternal

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Removed prometheus.prometheusSpec.additionalScrapeConfigsExternal from README

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Modified values for naming convention

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Added newline for test to pass

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Correct node exporter for tests to pass

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>
2020-07-15 06:44:37 -07:00
Manuel RügerandGitHub 510717f94d [stable/prometheus-node-exporter] Version bump to 1.0.1 (#23151)
https://github.com/prometheus/node_exporter/releases/tag/v1.0.1

Try fixing CI as suggested by @vsliouniaev

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-07-15 06:36:38 -07:00
Dan SextonandGitHub e4d6b5b9f7 [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 c9542ad285 [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
Miroslav HadzhievandGitHub 7749ebe3b9 [stable/prometheus] Improve Prometheus Server Probes. Fix MD Syntax Issues in README. (#23116)
* fix md style issues

sign: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* add periodseconds to liveness and readiness probes. on par probes for deployment and statefulset.

sign: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* include liveness and readiness probes documentation

sign: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>

* bump chart to v11.7.0

sign: Xtigyro <miroslav.hadzhiev@gmail.com>
Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
2020-07-08 15:28:35 -07:00
Craig FurmanandGitHub 4af5bcedf7 Treat alertmanager additionalPeers as YAML (#23112)
Avoids string templating errors, for example when passing an array of
string literals containing colons.

Signed-off-by: Craig Furman <craig.furman89@gmail.com>
2020-07-08 08:11:08 -07:00
Riccardo M. CefalaandGitHub 4a0d72fb02 [stable/prometheus-operator] remove namespace field from non-namespaced resources (#22949)
* [stable/prometheus-operator] remove namespace field from non-namespaced resources

Signed-off-by: Riccardo M. Cefala <riccardo.cefala@container-solutions.com>

* [stable/prometheus-operator] bump chart version

Signed-off-by: Riccardo M. Cefala <riccardo.cefala@container-solutions.com>
2020-07-08 07:53:08 -07:00
Klavs KlavsenandGitHub 6a8ca293fa [stable/prometheus] add support for running without cluster-admin privileges (#23049)
* add support for running on kubernetes setups (such as openshift) where you only have access to your own namespaces

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* bump chart versions

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* reverted kube-state-metrics so this branch is only about prometheus chart

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* signing

Signed-off-by: Klavs Klavsen <klavs@enableit.dk>

* lint fix

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>

* lint fix

Signed-off-by: Klavs Klavsen <klavs@EnableIT.dk>
2020-07-08 06:21:08 -07:00
Dan SextonandGitHub 051649b9ee [stable/prometheus-operator] Sync dashboards and rules for #22081 (#23024)
Signed-off-by: Dan Sexton <dan.b.sexton@gmail.com>
2020-07-08 03:13:08 -07:00
Calvin BuiandGitHub c0e141a4f7 [stable/prometheus-mongodb-exporter] Add serviceMonitor targetLabels and service labels (#22952)
* [stable/prometheus-mongodb-exporter] Add serviceMonitor targetLabels

Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>

* [stable/prometheus-mongodb-exporter] Add labels to service

Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2020-07-07 15:05:08 -07:00
Maxime BrunetandGitHub a4a86aba6d [stable/prometheus-pushgateway] Fix networkPolicy podSelector and ingress rule (#23053)
* Fix `podSelector` by adding `release` label
* Fix ingress rule by ensuring port is restricted

  Before it was:

    * Source: any, Port: `targetPort`
    * Source: `customSelectors`, Port: any

  Now it is:

    * Source: `customSelectors`, Port: `targetPort`

  and `allowAll` does not add an any/any rule anymore.

Signed-off-by: Maxime Brunet <maxime.brunet@paytm.com>
2020-07-07 04:51:58 -07:00
Manuel RügerandGitHub 220dd172eb [stable/prometheus-operator] Update hyperkube image (#23073)
Update to a support version of kubernetes: 1.16.12

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-07-05 09:36:49 -07:00
via-jordan-sokolicandGitHub e1f90b3c39 [stable/prometheus-operator] kubelet servicemonitor skip tls verify (#22927)
* chomp newline

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* skip TLS verify for kubelet metrics endpoint

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* bump version

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* bump dependency versions

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* Revert "bump dependency versions"

This reverts commit 9f5ca83b359b16d871d27424f7ef7632a8a52a85.

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* add http counterpart for kubelet servicemonitor

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>

* bump

Signed-off-by: Jordan Sokolic <jordan.sokolic@ridewithvia.com>
2020-07-03 10:40:47 -07:00
Manuel RügerandGitHub bca4ffd147 [stable/prometheus-operator] Replace configmap-reload image (#22988)
Upstream switched to this image in
https://github.com/coreos/prometheus-operator/commit/3c1456eac35d2ace824d478d6bd9dad6939f6db3#diff-e237ffe304b9b2407ed7d9424a2770a9

This also enables support for multi-arch for the configmap-reload image

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-07-03 08:10:48 -07:00
David GleichandGitHub 8ae6f4b592 [stable/prometheus-operator] Update grafana Chart (#22891)
* Update grafana Chart

Signed-off-by: David Gleich <david@familie-gleich.de>

* Update Chart version

Signed-off-by: David Gleich <david@familie-gleich.de>

* Update requirements.lock

Signed-off-by: David Gleich <david@familie-gleich.de>

* Using helm2 for updateing the requirements

Signed-off-by: David Gleich <david@familie-gleich.de>

* Needs a versionbump

Signed-off-by: David Gleich <david@familie-gleich.de>

* Bump Chart version

Signed-off-by: David Gleich <david@familie-gleich.de>
2020-07-02 13:44:47 -07:00
Eugene MedvedevandGitHub d952b49a0d [stable/prometheus] Fix rbac for get ingress info (#23015)
* Fix rbac for get ingress info

Signed-off-by: Eugene Medvedev <jidckii@gmail.com>

* Update chart version

Signed-off-by: Eugene Medvedev <jidckii@gmail.com>

* support newer and older clusters

Signed-off-by: Eugene Medvedev <jidckii@gmail.com>
2020-07-02 00:58:46 -07:00
Peter TrieszandGitHub 329feabf35 [stable/prometheus-cloudwatch-exporter] additional docu on service account usage (#23028)
* additional info on service account config so one can read mounted secret

this worked OK:
```
securityContext:
  runAsUser: 65534  # run as nobody user instead of root
  fsGroup: 65534 # to read mounted secret with the same id
```

Signed-off-by: Peter Triesz <peter.triesz@klar.mx>

* updating chart version after readme modification

Signed-off-by: Peter Triesz <peter.triesz@klar.mx>
2020-07-01 13:52:00 -07:00
sczizzoandGitHub 657142ad94 [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
Calvin BuiandGitHub 2e183db321 [stable/prometheus-mysql-exporter]: Add service labels and annotations (#22986)
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2020-06-29 06:37:24 -07:00
Todd LyonsandGitHub 19a255e034 stable/prometheus-cloudwatch-exporter Add shasum of secrets yaml render to annotations (#22906)
* Add shasum of secrets yaml render to annotations

Also added missing changelog entry for previous release.

Signed-off-by: Todd Lyons <todd.lyons@pgi.com>

* Correct prom-cloudwatch-exporter issue number

Signed-off-by: Todd Lyons <todd.lyons@pgi.com>
2020-06-23 05:31:40 -07:00
LuciferInLoveandGitHub df4c26fbc5 [stable/prometheus-operator] Adding hostNetwork for operator (#22726)
* Adding hostNetwork for prometheus-operator

Signed-off-by: LuciferInLove <lucifer.in.love@yandex.ru>

* Update Chart.yaml

Signed-off-by: LuciferInLove <lucifer.in.love@yandex.ru>

* Update Chart.yaml

Signed-off-by: LuciferInLove <lucifer.in.love@yandex.ru>
2020-06-22 00:42:39 -07:00
André BauerandGitHub ebd8825ebd [stable/prometheus] updated all prometheus docker images to latest versions (#22849)
* updated all prometheus dockeri mages to latest versions

Signed-off-by: André Bauer <monotek23@gmail.com>

* removed blank line

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-06-19 05:29:58 -07:00