267 Commits
Author SHA1 Message Date
Matt FarinaandGitHub dc7e5997de Revert "Updating to new repo locations (#24419)" (#24420)
This reverts commit e2ecc4d816.
2020-11-13 18:28:12 -05:00
Matt FarinaandGitHub e2ecc4d816 Updating to new repo locations (#24419)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 18:21:11 -05:00
Matt FarinaandGitHub 4a04b6f964 Removed old owners files (#24416)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 17:06:05 -05:00
NaseemandGitHub 495ecb8573 deprecate prometheus (#23692)
Signed-off-by: Naseem <naseem@transit.app>
2020-09-04 23:49:40 -07:00
André BauerandGitHub 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
Ahmed NasirandGitHub 6878cfd32d [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
Klavs KlavsenandGitHub 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 HadzhievandGitHub 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
Mohammad AbdoliradandGitHub d28702c4ca [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
Miroslav HadzhievandGitHub 7c267d5932 add a new owner and approver (#23276)
Signed-off-by: Xtigyro <miroslav.hadzhiev@gmail.com>
2020-07-21 13:50:05 -07:00
Miroslav HadzhievandGitHub 40000fc5a6 [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 c40486ab2e [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
Miroslav HadzhievandGitHub 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
Klavs KlavsenandGitHub 7cb8d64f0f [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
Eugene MedvedevandGitHub 02c9e1e48c [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
André BauerandGitHub 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ñalverandGitHub 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
George GoodenandGitHub 2e82a00f97 [stable/prometheus] Add configFromSecret support to StatefulSet alertmanagers (#22647)
* Add support to set an existing config-volume from secret for
alertmanager when deployed as a StatefulSet

Signed-off-by: George Gooden <george@gecgooden.com>

* Bump chart version

Signed-off-by: George Gooden <george@gecgooden.com>
2020-06-04 01:08:43 -07:00
James D. MarbleandGitHub 5aa4958e36 Fix stable/prometheus node-exporter containerPort to hostPort (#22141)
I was getting this error if I tried to customize `nodeExporter.service.hostPort`:

```
Error: DaemonSet.apps "prometheus-node-exporter" is invalid: spec.template.spec.containers[0].ports[0].containerPort: Invalid value: 9100: must match `hostPort` when `hostNetwork` is true
```

If `hostNetwork` is true, the `containerPort` must always be the same as the `hostPort`.
This also means that the service ports and the port exported by the process must match.

Signed-off-by: James D. Marble <james.d.marble@gmail.com>
2020-06-03 19:06:44 -07:00
Frederik WeberandGitHub 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
Yong Wen ChuaandGitHub 0dfb1191c9 [stable/prometheus] Fix incorrect rendering of enableServiceLinks (#22391)
cf. https://github.com/helm/helm/issues/3308

Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
2020-05-14 07:04:22 -07:00
Vesa LaaksoandGitHub 827127e4f3 [stable/prometheus] Fix default non-HA state for alertmanager statefulset (#22386)
Since enableMeshPeer is false by default, cluster.listen-address should be empty.
Commit 5b4f507 caused regression and it is passing string as a parameter which is wrong. Documentation https://github.com/prometheus/alertmanager/blob/master/README.md#high-availability explicitly says cluster listen address should be defined like --cluster.listen-address= without passing emptry string.

Signed-off-by: Vesa Laakso <vesa.laakso@cfg.fi>
2020-05-13 19:04:22 -07:00
Tuan Anh NguyenandGitHub 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 NguyenandGitHub 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
Yong Wen ChuaandGitHub 98d951ea63 [stable/prometheus] Configure enableServiceLinks for server (#22300)
Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
2020-05-08 13:05:51 -07:00
IchandGitHub 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
Miroslav HadzhievandGitHub 2902bf77dc [stable/prometheus] De-duplicate "affinity" for Prometheus StatefulSet Object (#22129)
* Deduplicate "affinity" for Prometheus StatefulSet Object

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

* Bump Chart Ver. to "11.1.4"

Signed-off-by: Miroslav Hadzhiev <miroslav.hadzhiev@gmail.com>
2020-04-26 20:51:28 -07:00
Julien FurgerotandGitHub 0c83991b60 [stable/prometheus] Fix prometheus service selector with statefulset (#22098)
* [stable/prometheus] Fix prometheus service selector when using statefulset

Signed-off-by: Julien Furgerot <julien.furgerot@gmail.com>

* Bump stable/prometheus chart version

Signed-off-by: Julien Furgerot <julien.furgerot@gmail.com>
2020-04-25 02:17:29 -07:00
5bbc323277 Fix rollingUpdate: null indent for helm3 (#21989)
* Include trim of strategy toyaml to limit extra line break in helm 2

Signed-off-by: Sheldon Warkentin <sheldonw@forallsecure.com>

Co-authored-by: Sheldon Warkentin <sheldonw@forallsecure.com>
2020-04-17 11:53:11 -07:00
038a82466a Fix rollingUpdate: null indentation Recreate (#21976)
When strategy.type is set to `Recreate`, the `rollingUpdate`
property is set to `null`. This fixes the indentation of the
`rollingUpdate` property, which was off by 2.

Signed-off-by: Sheldon Warkentin <sheldonw@forallsecure.com>

Co-authored-by: Sheldon Warkentin <sheldonw@forallsecure.com>
2020-04-16 17:25:07 -07:00
NaseemandGitHub 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 NilssonandGitHub 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 LiedemanandGitHub fbdaa84049 Added extraInitContainers to match server (#21774)
Signed-off-by: Ciaran Liedeman <ciaran@stackworx.io>
2020-04-08 18:07:43 -07:00
Ali SattariandGitHub a799db7281 Moving cluster.advertise-address param to if block for peer mesh (#21617)
Signed-off-by: Ali Sattari <ali.sattari@gmail.com>
2020-03-26 01:58:24 -07:00
Hyeonseop LeeandGitHub 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 RobotandGitHub 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
MalteandGitHub 2f486d7629 [stable/prometheus] Support tmpl files which are not YAML (#21208)
Signed-off-by: Malte Krupa <github-nqyroppg@nafn.de>
2020-03-03 05:51:37 -08:00
NaseemandGitHub 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 CuninandGitHub 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
Adrian BergerandGitHub 2897f04b79 [stable/prometheus] Use the new api for ingress (#21049)
Signed-off-by: Adrian Berger <adrian.berger@bedag.ch>
2020-02-28 05:28:38 -08:00
Simone LambertiandGitHub 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
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
NaseemandGitHub 82abdd59ad Update prometheus to 2.16.0 (#20821)
Signed-off-by: Naseem <naseem@transit.app>
2020-02-25 13:36:26 -08:00
Mattias NensénandGitHub 424336aae6 [stable/prometheus] Fix server.alertmanagers (#20779)
* Fix helm/charts/stable/prometheus/templates/server-configmap.yaml

    Signed-off-by: Mattias Nensén <mattias.nensen@sinch.com>

Signed-off-by: Mattias Nensén <mattias.nensen@clxcommunications.com>

* Bumps version

    Signed-off-by: Mattias Nensén <mattias.nensen@sinch.com>

Signed-off-by: Mattias Nensén <mattias.nensen@clxcommunications.com>
2020-02-25 06:04:49 -08:00
André BauerandGitHub bd99f09e27 [stable/prometheus] added slow pod scrape config (#20443)
* added slow pod scrape config

Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>

* removed whitespace

Signed-off-by: André Bauer <andre.bauer@kiwigrid.com>
2020-01-30 04:20:13 -08:00
Daniel HajdukandKubernetes Prow Robot 203c56da14 [prometheus] fix: alertmanager to use /-/ready as readiness probe (#20190)
Signed-off-by: Daniel Hajduk <daniel.piotr.hajduk@gmail.com>
2020-01-16 12:10:32 -08:00
dd4445f178 [stable/prometheus] prometheus.io/scrape-slow for scraping slow target (#19930)
* prometheus.io/scrape-slow for scraping slow target

Background
==========
Some users require scraping slow targets --
such as [elasticsearch-exporter](https://github.com/helm/charts/tree/master/stable/elasticsearch-exporter))
-- with a larger timeout and larger interval. Globally changing the
scrape interval and timeout is unsatisfactory, since this would reduce
sampling rates for targets that are fast. A [Prometheus
feature](https://github.com/prometheus/prometheus/issues/2353) was
proposed to set the scraping timeout and interval via annotations.
However, this would require considerable re-engineering, since scrape
timeout and interval is a per-job configuration and not a per-target
one.

Approach
========
This PR proposed the `prometheus.io/scrape-slow` annotation for scraping
endpoints that are considerably slower, i.e., with an interval of 5
minutes and a timeout of 30 seconds. Other annotations are identical to
the `prometheus.io/scrape` annotation what users are already familiar
with.

Co-authored-by: Emil Vannebäck <emil.vanneback@elastisys.com>
Signed-off-by: Cristian Klein <cristian.klein@elastisys.com>

* Bump stable/prometheus version

Signed-off-by: Cristian Klein <cristian.klein@elastisys.com>

Co-authored-by: Emil <emil.vanneback@elastisys.com>
2020-01-16 01:02:37 -08:00
Yong Wen ChuaandKubernetes Prow Robot 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 MonakhovandKubernetes Prow Robot 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
fredhaugandKubernetes Prow Robot 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