* 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>
* 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>
* 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>
* 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 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>
* 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>
* [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>
* 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>
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>
* 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>
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>
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>
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>
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>
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>
* 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>
* 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>
* 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>