143 Commits
Author SHA1 Message Date
Mike Ritter c4a13a37c0 [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
Gabriel Martinez f019fd53a8 [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üger fbf8233ea4 [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
alexanderccc ce2c5be29e [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
Dan Sexton 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
msvechla 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
Manuel Rüger 0a77334501 [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
Manuel Rüger 5bb02a4f10 [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
sczizzo 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
LuciferInLove 71d71d6bbc [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
Mohsen 062ee017ff [stable/prometheus-operator] Scraping kubelet for /metrics/resource/v1alpha1 (#22586)
[stable/prometheus-operator] Fixing the template

Signed-off-by: Mohsen <mohsen0@users.noreply.github.com>
2020-06-16 04:54:04 -07:00
yoninl2 60ee3fe8be [stable/prometheus-operator] namespace override (#22288)
* [stable/prometheus-operator] namespace override

Signed-off-by: yoninl2 <yong.jiang1@hp.com>

* bump chart version

Signed-off-by: Jeremy <yong.jiang1@hp.com>

* revert changes in hack folder

Signed-off-by: Jeremy <yong.jiang1@hp.com>
2020-06-16 01:40:04 -07:00
PhilippeandScott Rigby aae589f58a Added supports of ServiceAccount annotation in alertmanager (#22725)
Signed-off-by: Philippe Bürgisser (Camptocamp) <philippe.burgisser@camptocamp.com>

Co-authored-by: Scott Rigby <scott@r6by.com>
2020-06-15 17:17:57 -07:00
Steven Sheehy ecd862cc1a [stable/grafana] Template grafana.additionalDataSources (#22728)
Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
2020-06-15 16:59:57 -07:00
Steven Sheehy 54011d7e57 [stable/prometheus-operator] Upgrade dependencies & set group to non-root (#22662)
* [stable/prometheus-operator] Upgrade dependencies & set group to non-root

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>

* Address review feedback

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>

* Bump Grafana for security fix

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
2020-06-05 11:37:44 -07:00
Andrés Álvarez ef0d749132 [stable/prometheus-operator] Allow adding additional volumes and volumeMounts (#22672)
Signed-off-by: Andres Alvarez <1671935+kir4h@users.noreply.github.com>
2020-06-05 03:05:43 -07:00
K3AandMario Hros 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
Thorsten Klein 3934372ea4 [stable/prometheus-operator]: do not allow '--manage-crds' flag in operator version >= v0.39.0 (#22390)
* stable/prometheus-operator: do not allow '--manage-crds' flag in operator version >= v0.39.0

Signed-off-by: Thorsten Klein <iwilltry42@gmail.com>

* stable/prometheus-operator: chart version bump

Signed-off-by: Thorsten Klein <iwilltry42@gmail.com>

* stable/prometheus-operator: chart version bump

Signed-off-by: Thorsten Klein <iwilltry42@gmail.com>
2020-06-02 03:02:15 -07:00
Mohsen 66b2d807e0 [stable/prometheus-operator] Scraping kubelet for readiness & liveness probes (#22577)
Signed-off-by: Mohsen <mohsen0@users.noreply.github.com>
2020-05-31 01:01:53 -07:00
Jean Baptiste Favre 915dd464d5 [stable/prometheus-operator] Bump versions (#22179)
* [stable/prometheus-operator] Bump Prometheus to its latest release

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Update requirements.lock

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Chart version

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>
2020-04-29 04:20:24 -07:00
Jean Baptiste Favre 1e6a30c3b8 [stable/prometheus-operator] Bump all docker images version (#21829)
* [stable/prometheus-operator] Bump docker image tags for

  * prometheus
  * prometheus-config-reloader
  * prometheus-operator
  * kube-webhook-certgen

Update prometheus-operator CRDs to 0.38.0

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Prometheus docker image tag to the latest release

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Grafana and kube-state-metrics subcharts versions

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Update requirements files

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Chart version

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Grafana Chart to the latest version

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Update Thanos rulers CRD

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump prometheus-operator to 0.38.1. Downgrading prometheus version to 2.16.0

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump Chart version

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>
2020-04-17 23:59:35 -07:00
Suraj Deshmukh 28920d34bf stable/prometheus-operator: Add PSP annotations var (#21897)
This commit enables user to configure the PSP annotation, so that they
can enable seccomp on the pods.

With this commit users can add following to their values file:

```
global:
  rbac:
    ...
    pspAnnotations:
      seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default'
      seccomp.security.alpha.kubernetes.io/defaultProfileName:  'docker/default'
...
```

Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
2020-04-14 04:01:10 -07:00
Barthélemy VessemontandBarthelemy Vessemont 402a220fe1 Adding initContainer capabilites in prometheus specs template (#21837)
Signed-off-by: Barthelemy Vessemont <barthelemy@storelift.co>

Co-authored-by: Barthelemy Vessemont <barthelemy@storelift.co>
2020-04-08 07:17:44 -07:00
Ilya Nemakov 2e59ae76c4 Add support for creating a Service and Ingress for each Alertmanager replica (#21769)
Signed-off-by: Ilya Nemakov <agent.xp@gmail.com>
2020-04-06 01:11:46 -07:00
Valentin Zayash 00767365e0 Conditional cadvisor metrics for kubelet serviceMonitor (#21653)
Signed-off-by: Valentin Zayash <valioozz@gmail.com>
2020-04-02 09:44:24 -07:00
Mickaël Canévet 1630390204 Allow to override AlertManager's target port (#21251)
Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>
2020-03-10 07:05:36 -07:00
Jean Baptiste Favre ae5e3dbb4f [stable/prometheus-operator] Bump operator version. Closes #20503 (#21304)
* [stable/prometheus-operator] Bump operator version. Closes #20503

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Update README

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>

* [stable/prometheus-operator] Bump prometheus-config-reloader image tag

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>
2020-03-10 01:59:35 -07:00
Kubernetes Prow Robotandgowrisankarm 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
Vasily Sliouniaev ef55e1e24b [stable/prometheus-operator ] Bump operator version, update dependencies (#20572)
* Fix CRD annotations, bump operator version

Alter port on node-exporter because CI is down

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

* Update dependent charts to latest

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

* Update readme and cleanup-attempt template

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2020-02-28 07:24:38 -08:00
Jean Baptiste Favre b72be881e6 [stable/prometheus-operator] keep consistency for grafana.service.portName (#20600)
Grafana serviceMonitor provided by prometheus-operator doesn't allow custom
portName. `service` is hardcoded in service template.
This breaks monitoring if you define a custom `grafana.service.portName` in
your helm release

Signed-off-by: Jean Baptiste Favre <github@jbfavre.org>
2020-02-21 00:18:31 -08:00
Qingkun LiandReinhard Nägele 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
Heechul Ryu a97695fcdf [stable/prometheus-operator] add apiserverConfig (#20453)
* [stable/prometheus-operator] add apiserverConfig
    * add apiserverConfig

Signed-off-by: Heechul Ryu <ryuhcii@gmail.com>

* Bump stable/prometheus-operator chart version to 8.7.0

Signed-off-by: Heechul Ryu <ryuhcii@gmail.com>
2020-01-31 06:58:20 -08:00
Vasily Sliouniaev f47e033003 Update versions and template features (#20419)
Signed-off-by: vas <vasily.sliouniaev@jet.com>
2020-01-30 11:04:19 -08:00
Karan Magdani 611af642f4 [stable/prometheus-operator] add annotation to prometheus secrets (#19626)
* added annotation for scrape secret

Signed-off-by: Karan Magdani <karan.magdani@slice.com>

* Added annotations for all secrets prometheus hardcodes

Signed-off-by: Karan Magdani <karan.magdani@slice.com>
2020-01-28 10:03:40 -08:00
Sergio Millan c0bd025047 fix: add affinity and tolerations to admissionWebhook patch jobs (#20199)
Signed-off-by: Sergio Millan Rodriguez <sergio.rodriguez@ticketmaster.co.uk>
2020-01-21 06:13:59 -08:00
Sean Johnson 8331daf668 [stable/prometheus-operator] Fix metric relabeling (#20194)
Fixes #20157 by setting the default relabeling to include the metric_path
configuration to match upstream kube-prometheus.

Signed-off-by: Sean Johnson <seanson@users.noreply.github.com>
2020-01-17 06:52:57 -08:00
LucasBoisserie 4e63d49d3b Limit Alerts Scope (#19538)
Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
2020-01-14 01:41:08 -08:00
Sean Johnson 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
yujin-hong 5c0aca44e0 [stable/prometheus-operator] fix typo for prometheus Operator Service… (#19969)
* Bump prometheus-operator chart version

Signed-off-by: yujin-hong <dbwlsdl2500@gist.ac.kr>

* [stable/prometheus-operater] fix typo for prometheus Operator Service type comment

Service type `NodePort` was denoted as `NodepPort`. It can cause confusion to beginners.

Signed-off-by: yujin-hong <dbwlsdl2500@gist.ac.kr>
2020-01-09 09:19:46 -08:00
Alex Williams 3004965a58 [stable/prometheus-operator] - add tlsConfig to prometheus servicemonitor (#19848)
* prometheus-operator - add tlsConfig to prometheus servicemonitor

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* Bump to 8.5.5.

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>

* nindent on correct line

Signed-off-by: Alex Williams <alex.williams@skyscanner.net>
2020-01-09 06:15:45 -08:00
Martin Polednik 88b2f04f5b [stable/prometheus-operator] fix comment in values.yaml (kubeScheduler) (#19875)
Comment in values.yaml related to kubeScheduler scraping
configuration incorrectly referred to kube-controller-manager
scraping.

Only the comment is fixed as the logic is correct.

Signed-off-by: Martin Polednik <m.polednik@gmail.com>
2020-01-07 06:14:18 -08:00
Igor Churmeev ef7618975b [stable/prometheus-operator] Add option configSecret for prometheus-operator (#19159)
* Add option configSecret for prometheus-operator

Signed-off-by: Igor Churmeev <ingvarch@gmail.com>

* Bump version

Signed-off-by: Igor Churmeev <ingvarch@gmail.com>

* Added variabled in README.md

Signed-off-by: Igor Churmeev <ingvarch@gmail.com>

* Commented configSecret options and bump versin

Signed-off-by: Igor Churmeev <ingvarch@gmail.com>
2019-11-30 07:17:02 -08:00
Dave Slinn baedcbd106 [stable/prometheus-operator] Rename relabeling target_label to targetLabel (#19089)
* Rename relabeling target_label to targetLabel

To match changes to coreos/kube-operator as noted here:

https://github.com/coreos/prometheus-operator/issues/2503#issuecomment-478520117
Signed-off-by: Dave Slinn <dslinn@gms.ca>

* bump version number

Signed-off-by: Dave Slinn <dslinn@gms.ca>
2019-11-23 00:25:50 -08:00
Nathan Flynn d19093d44a [stable/prometheus-operator] Istio compatibility fixes. (#18948)
* Istio compatability fixes.

Signed-off-by: Nathan Flynn <nflynn@williamhill.co.uk>

* Bump chart version.

Signed-off-by: Nathan Flynn <nflynn@williamhill.co.uk>

* Changed portnames to variables.
Set default PortName to 'web' which is the default of the API.

Signed-off-by: Nathan Flynn <nflynn@williamhill.co.uk>

* Missing variable.

Signed-off-by: Nathan Flynn <nflynn@williamhill.co.uk>

* Bump chart version.

Signed-off-by: Nathan Flynn <nflynn@williamhill.co.uk>
2019-11-19 07:37:41 -08:00
Nate ed5260ab32 [stable/prometheus-operator] clarify usage of additionalScrapeConfigsExternal (#18971)
Make it clear how `additionalScrapeConfigsExternal` is configured.

Closes https://github.com/helm/charts/issues/17886

Signed-off-by: Nate Brennand <natebrennand@gmail.com>
2019-11-19 03:43:41 -08:00
Sören Jentzsch 5eca1b4863 [stable/prometheus-operator] add resources field to prometheusOperator admissionWebhooks jobs (#18743)
Signed-off-by: Sören Jentzsch <me@sjentzsch.de>
2019-11-12 01:58:06 -08:00
Damian Myerscough 0334204b6f [stable/prometheus-operator] Allow annotations to be set on datasource configmaps (#18734)
Signed-off-by: Damian Myerscough <Damian.Myerscough@gmail.com>
2019-11-08 11:50:51 -08:00
Ricardo Hernandez 37832e1742 [stable/prometheus-operator] Configurable kubeDns ports (#18597)
* Make kubeDns service ports configurable

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* stable/prometheus-operator bump version

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* Add new kubeDns default values to README

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* stable/prometheus-operator: bump minor version

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* stable/prometheus-operator: bump chart 8.1.0

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>
2019-11-05 18:21:00 -08:00
Denis Iskandarov 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
Ricardo Hernandez 7a04b11345 [stable/prometheus-operator] Remove workaround on service selectors (#18478)
* Remove prometheus-operator.rangeskipempty workaround

also removes default selector values from values.yaml
as trying to modify those later will only append instead
of replace.

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* fix kubeControllerManager references in README

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* prometheus-operator: bump Chart

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>

* no-op to force triggering circleci test

Signed-off-by: Ricardo Hernandez <ricardo.hernandez@mongodb.com>
2019-11-05 04:58:38 -08:00