* [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>
* 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>
* [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>
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>
* 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>
* 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>
* 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>
Avoids string templating errors, for example when passing an array of
string literals containing colons.
Signed-off-by: Craig Furman <craig.furman89@gmail.com>
* 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>
* 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>
* 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>
* 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>
* [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>
* 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>