138 Commits
Author SHA1 Message Date
Naseem 495ecb8573 deprecate prometheus (#23692)
Signed-off-by: Naseem <naseem@transit.app>
2020-09-04 23:49:40 -07:00
André Bauer f42e3c4b82 [stable/prometheus] update prometheus to 2.20.1 and cm reloader to 0.4.0 (#23506)
* updated prometheus to 2.20.1 and cm reloader to 0.4.0

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

* fix xpp version

Signed-off-by: André Bauer <monotek23@gmail.com>
2020-08-11 09:56:17 -07:00
Klavs Klavsen ad156cf933 [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 Hadzhiev d0cc0818b6 [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
Miroslav Hadzhiev 7546bf54c7 [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
André Bauer dda381a116 [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
Carlos Juan Gómez Peñalver 11964fbeab [stable/prometheus] gRPC port on headless svc (#22784)
* [stable/prometheus] gRPC port on headless svc

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* [stable/prometheus] Add new variables to docs

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>
2020-06-15 22:26:03 -07:00
Frederik Weber 336e709070 [stable/prometheus] Add Namespace to applicable Resources (#22378)
* Prometheus added Namespaces

Added the "namespace" field in the metadata section for all
applicable resources in the Prometheus chart.

Signed-off-by: Frederik Weber <frederikweber.93@gmail.com>

* Bump Chart Version

Signed-off-by: Frederik Weber <frederikweber.93@gmail.com>

* Added new Parameter forceNamespace

If this parameter is specified, all namespaced resources will be in
that namespace.

Signed-off-by: Frederik Weber <frederikweber.93@gmail.com>

* Respect forceNamespace or .Release.Namespace

Not just use .Release.Namespace but also respect forceNamespace.
If other charts use this chart as subchart and want to deploy
Prometheus in another namespace, they can do so by specifying
the parameter forceNamespace.

Signed-off-by: Frederik Weber <frederikweber.93@gmail.com>

* Bump chart version

Signed-off-by: Frederik Weber <frederikweber.93@gmail.com>
2020-05-17 16:59:35 -07:00
Tuan Anh Nguyen 196ce2fa73 fix default non-ha state for alert-manager statefulset (#22350)
Signed-off-by: Tuan Anh Nguyen <tuananh.nguyen-ext@commercetools.de>
2020-05-13 01:18:26 -07:00
Tuan Anh Nguyen 1995d00b4a upgrade to 2.18.1 (#22349)
Signed-off-by: Tuan Anh Nguyen <tuananh.nguyen-ext@commercetools.de>
2020-05-12 04:52:21 -07:00
Ich 61753d93af [stable/prometheus] fix remoteRead/Write defaults (#22088)
The config is a list of object not an object.

Signed-off-by: Timo Zingel <timo.zingel@joblift.de>
2020-04-29 08:56:26 -07:00
Naseem 19dbe963b1 Cleanup ksm. (#21877)
Remove no longer used remenants of vendored ksm service. Specify in
values file that `kube-state-metrics` is the top value to configure the
sub-chart, not `kubeStateMetrics` which is simply to enable or
disable the dependency.

Signed-off-by: Naseem <naseem@transit.app>
2020-04-11 08:39:47 -07:00
Markus Nilsson ca319e051d [stable/prometheus] add hostAliases (#21805)
* [stable/prometheus] add hostAliases

Signed-off-by: Markus Nilsson <markus.nilsson@yubico.com>

* [stable/prometheus] bump chart version

Signed-off-by: Markus Nilsson <markus.nilsson@yubico.com>
2020-04-09 04:43:45 -07:00
Ciaran Liedeman fbdaa84049 Added extraInitContainers to match server (#21774)
Signed-off-by: Ciaran Liedeman <ciaran@stackworx.io>
2020-04-08 18:07:43 -07:00
Hyeonseop Lee aa5c19a1c4 [stable/prometheus] Make service account annotations configurable (#21537)
This change makes the annotations for service accounts configurable.

This change is useful when you need to set specific annotations to
service accounts, for example when using IAM Roles for service accounts
in AWS EKS.

Signed-off-by: Hyeonseop Lee <hyeonseop@ls-al.me>
2020-03-20 09:08:37 -07:00
Kubernetes Prow Robot 663bd1f748 [stable/prometheus] Set rollingUpdate to null when strategy is Recreate (#21289)
This change improves handling of deployment strategy parameters:

1) Improve documentation on strategy parameters.

2) Document & use alertmanager.strategy.type, which was present in
   values.yaml but unused. Alertmanager was previous using server.strategy

3) Set strategy.rollingUpdate to null when strategy.type is 'Recreate'.
   This is necessary to prevent the following error on an upgrade
   switching the strategy type from 'RollingUpdate' to 'Recreate':

   ```
   UPGRADE FAILED: Deployment.apps "prometheus-server" is invalid:
   spec.strategy.rollingUpdate: Forbidden: may not be specified
   when strategy `type` is 'Recreate'
   ```

Signed-off-by: Alexandre Rebert <alex@forallsecure.com>
2020-03-05 17:16:50 -08:00
Naseem c38f752d85 Use ksm chart for ksm (#21148)
By leveraging the ksm chart we are deduplicating community effort.

Signed-off-by: Naseem <naseem@transit.app>
2020-03-01 17:24:41 -08:00
Adrien Cunin 5193f1dc65 [stable/prometheus] Added configmapReload.enabled parameter (#20578) (#20912)
* Added configmapReload.enabled parameter (#20578)

Signed-off-by: Adrien Cunin <adrien.cunin@springernature.com>

* Splitted configmapReload parameters

It's now possible to independently change the parameters of the two
configmapReload containers using configmapReload.prometheus.* and
configmapReload.alertmanager.* parameters.

Signed-off-by: Adrien Cunin <adrien.cunin@springernature.com>

* Bumped chart version

Signed-off-by: Adrien Cunin <adrien.cunin@springernature.com>
2020-02-28 20:32:38 -08:00
Simone Lamberti 6a62fe59d2 [stable/prometheus] gRPC port on prometheus service (#21002)
* add grpc service port to service template

Signed-off-by: Simone Lamberti <simone.lamberti@native-instruments.de>

* update readme with grpc values

Signed-off-by: Simone Lamberti <simone.lamberti@native-instruments.de>

* bump chart version

Signed-off-by: Simone Lamberti <simone.lamberti@native-instruments.de>
2020-02-26 10:28:20 -08:00
NaseemandDavid J. M. Karlsen 7538358436 Update kube-state-metrics (#21017)
Signed-off-by: Naseem <naseem@transit.app>

Co-authored-by: David J. M. Karlsen <david@davidkarlsen.com>
2020-02-25 13:42:27 -08:00
Naseem 82abdd59ad Update prometheus to 2.16.0 (#20821)
Signed-off-by: Naseem <naseem@transit.app>
2020-02-25 13:36:26 -08:00
Yong Wen Chua 334d459fe5 [stable/prometheus] Add Telemetry port to Kube-state-metrics (#20072)
* [stable/prometheus] Add Telemetry port to Kube-state-metrics

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>

* Bump kubestatemetrics to 1.9.1

Fixes SegFault with HPA

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>

* Add Values for Service

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
2020-01-13 02:59:36 -08:00
Sergey Monakhov 536d094cfe [stable/prometheus] Added remote_write and remote_read for prometheus (#20056)
* added remote_write and remote_read

Signed-off-by: Sergey Monakhov <sergey.monakhov@gmail.com>

* updated README.md and bumped chart version

Signed-off-by: Sergey Monakhov <sergey.monakhov@gmail.com>

* bump chart version

Signed-off-by: Sergey Monakhov <sergey.monakhov@gmail.com>
2020-01-12 23:23:37 -08:00
fredhaug b6172bdec0 [stable/prometheus] Add option to set labels for Prometheus AlertManager pods (#20026)
* Add option to set labels for Prometheus AlertManager pods.

Signed-off-by: Fredrik Haugseth <fredhaug93@gmail.com>

* Bump chart version.

Signed-off-by: Fredrik Haugseth <fredhaug93@gmail.com>
2020-01-12 04:53:37 -08:00
André Bauer c582455759 [stable/prometheus] update prometheus to 2.15.2 and also all other used images to newest … (#19927)
* update prometheus to 2.15.2 and also all other used images to newest version

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

* changed alertmanager baseurl to satisfy the new check of the url on container startup

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

* removed executable flag from files

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

* fix merge conflict

Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>
2020-01-09 06:39:45 -08:00
adamkpickering b17f7e798c stable/prometheus Updated README.md with instructions for configuring pod scraping (#19379)
* Updated README.md with instructions for configuring pod scraping

Signed-off-by: Adam Pickering <adamkpickering@gmail.com>

* Updated chart version to latest.

Signed-off-by: Adam Pickering <adamkpickering@gmail.com>

* Bumped version to be in sync... again

Signed-off-by: Adam Pickering <adamkpickering@gmail.com>

* Bumped chart version

Signed-off-by: Adam Pickering <adamkpickering@gmail.com>

* Bumped version again

Signed-off-by: Adam Pickering <adamkpickering@gmail.com>
2020-01-08 16:23:40 -08:00
eMCeee89 87beb86f7c Merge branch 'master' of https://github.com/helm/charts (#17071)
Signed-off-by: eMCeee89 <marek.cvoren@gmail.com>
2020-01-03 20:07:40 -08:00
Ali Sattari ebf360213f [stable/prometheus] Adding Vertical Pod Autoscaler support (#17742)
* Adding vertical Pod Autoscaler support to the chart

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* EOF fixed in new file

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* bumping the right version field!

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* fixing a mistake in version bumping

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* fixing wrong version bump

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* Fixes loop issue

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* Bumped chart version, synced app version with master.

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* Bumping chart version

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>

* Merge conflict cleanup

Signed-off-by: Ali Sattari <ali.sattari@gmail.com>
2019-12-22 05:49:32 -08:00
Joseph (Jy) Yaworski 8f2c3746c1 [stable/prometheus] Add support for volumeBindingMode (#18242)
Signed-off-by: Joseph (Jy) Yaworski <jyaworski@carotid.us>
2019-12-18 18:23:56 -08:00
Vlad Ionescu 757f99fd79 [stable/prometheus] Add PodDisruptionBudget support (#19670)
* [stable/prometheus] Add PodDisruptionBudget support

Signed-off-by: Vlad Ionescu <Vlaaaaaaad@users.noreply.github.com>

* PDB should be false by default

Signed-off-by: Vlad Ionescu <Vlaaaaaaad@users.noreply.github.com>

* Formatting fixes

Signed-off-by: Vlad Ionescu <Vlaaaaaaad@users.noreply.github.com>
2019-12-18 16:45:56 -08:00
Raphaël a494c6bb4a Add optional service replica selector (#19398)
When using a replicaset for the server (for redundancy purposes),
this allows to select which replica the service will talk to in
order to have a consistent view of the data.

Signed-off-by: rabadin <rvbadin@gmail.com>
2019-12-18 08:21:57 -08:00
fredhaug 526e5bac1a [stable/prometheus] Add option to configure AlertManagers for Prometheus server (#19557)
* Add option to configure Prometheus AlertManagers for Prometheus server

Signed-off-by: Fredrik Haugseth <fredhaug93@gmail.com>

* Bump chart version

Signed-off-by: Fredrik Haugseth <fredhaug93@gmail.com>

* Set default to list instead of set

Signed-off-by: Fredrik Haugseth <fredhaug93@gmail.com>
2019-12-17 09:30:01 -08:00
Naseem 2f46f4fa4f Improve server file names to reflect official docs (#19472)
Signed-off-by: Naseem <naseemkullah@gmail.com>
2019-12-09 20:45:28 -08:00
Nicholas Capo f6e5784f26 stable/prometheus: Add service session affinity (#18637)
* stable/prometheus: Add sessionAffinity for server service

Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com>

* stable/prometheus: Add sessionAffinity for alertmanager service

Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com>

* Bump Minor Version

Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com>
2019-12-07 18:39:09 -08:00
Jeff Thompson ff0f907795 added deployment strategy for pushgateway (#17107)
Signed-off-by: Jeff Thompson <jeff.r.thompson@gmail.com>
2019-12-07 13:01:09 -08:00
Vlad Ionescu bac561b867 [stable/prometehus] Support ingress.extraPaths (#17979)
Signed-off-by: Vlad Ionescu <Vlaaaaaaad@users.noreply.github.com>
2019-12-06 19:31:09 -08:00
Premkumar Anand 0a1d70d5d4 [stable/prometheus] allow multiple alert files (#18112)
Signed-off-by: Premkumar Anand <premkumar@giffgaff.co.uk>
2019-11-04 22:50:37 -08:00
Laurent Godet 67ed74b614 Add initContainers support for prometheus server (#17218)
Signed-off-by: Laurent Godet <mevoyasf@gmail.com>
2019-10-21 06:07:38 -07:00
Oluwaseun Obajobi 7b823abaa6 add the option to add alert_relabel_configs in prometheus.yml (#15383)
Signed-off-by: Oluwaseun Obajobi <oba@obajobi.com>
2019-10-05 22:33:11 -07:00
Warren FernandesandDavid Timm af1e617edb Update psps to support all pods (#15055)
- deprecate nodeExporter.podSecurityPolicy.enabled

Signed-off-by: David Timm <dtimm@pivotal.io>
Co-authored-by: David Timm <dtimm@pivotal.io>
2019-08-17 10:00:08 -07:00
Nicholas Capo 00d32f780b [stable/prometheus]: Support disabling the Prometheus server (#13423)
* This supports the use case of running a Prometheus server in one
cluster and scraping exporters in another cluster while using the same
helm chart (with different values.yaml) for each deployment.

Signed-off-by: Nicholas Capo <nicholas.capo@gmail.com>
2019-08-16 11:08:08 -07:00
David J. M. Karlsen 5a38f82abd [stable/prometheus] Upgrade alertmanager (#15408)
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-07-10 23:56:53 -07:00
David J. M. Karlsen ed660bdef2 [stable/prometheus] Upgrade to 2.11.1 (#15402)
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-07-10 11:58:26 -07:00
Kevin Hellemun 58bcffcc09 [stable/prometheus] Add custom pod labels for prom server (#14819)
* Add custom pod labels to prometheus server component.

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>

* Bump chart version.

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>

* Update README.md

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>

* Update Chart.yaml

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>

* Only parse custom labels if they are set.

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>

* Make indentation the same as server labels.

Signed-off-by: Kevin Hellemun <17928966+OGKevin@users.noreply.github.com>
2019-07-08 02:14:35 -07:00
satchpx 6e23b2ff71 [stable/prometheus] Updates to support an alternate scheduler (#14364)
* updates to support alternate k8s scheduler

Signed-off-by: Sathya Balakrishnan <sathya@portworx.com>

* bump up chart version

Signed-off-by: Sathya Balakrishnan <sathya@portworx.com>
2019-06-27 17:19:22 -07:00
Cameron Attard cf33de3c87 [stable/prometheus] add alertmanager.extraSecretMounts (#12888)
Signed-off-by: Cameron Attard <cameron.attard@siteminder.com>
2019-06-27 14:13:21 -07:00
Jon Davies a92620997b [stable/prometheus] Upgraded pushgateway to v0.8.0. (#14304)
* [stable/prometheus] Upgraded pushgateway to v0.8.0.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>

* Update Chart.yaml

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>
2019-06-27 06:53:21 -07:00
Steven Sheehy 37a041c6ea [stable/prometheus] Update to Prometheus v2.10.0 (#14294)
* [stable/prometheus] Update to Prometheus v2.10.0

Signed-off-by: Steven Sheehy <ssheehy@firescope.com>

* Update Chart.yaml

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>
2019-06-27 04:43:20 -07:00
Laurent Godet 5e96e6ba69 [stable/prometheus] Bump alertmanager to 0.17.0 (#14034)
* [stable/prometheus] Bump alertmanager to 0.17.0

Signed-off-by: Laurent Godet <mevoyasf@gmail.com>

* Update Chart.yaml

Signed-off-by: Maor Friedman <maor.friedman@redhat.com>
2019-06-27 02:33:24 -07:00
David O'Dell 5b26a9bb39 [stable/prometheus] default retention time is 15 days if not specified (#13965)
* If you do not specify a retention time then by default it is set to 15 days.
In this PR I make that the default so that its clear to users.

Signed-off-by: David O'Dell <dave@helix.re>

* bumped chart version

Signed-off-by: David O'Dell <dave@helix.re>

* rev'd chart version to 8.11.5

Signed-off-by: David O'Dell <dave@helix.re>
2019-06-26 23:50:00 -07:00