From 644e23de773357c9d5991ed20972f1d852a44ed2 Mon Sep 17 00:00:00 2001 From: zeritti <47476160+zeritti@users.noreply.github.com> Date: Thu, 6 Jul 2023 05:53:13 +0000 Subject: [PATCH] [prometheus] Bump chart dependencies (#3422) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump chart dependencies alertmanager 0.33.1 kube-state-metrics 4.32.0 prometheus-node-exporter 4.18.0 prometheus-pushgateway 2.3.0 Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> * remove minor version changes Signed-off-by: André Bauer * Update dependencies with node exporter chart patch Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> * Include the latest KSM release Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> * Clear trailing whitespaces Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> * Update README file Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> --------- Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com> Signed-off-by: André Bauer Co-authored-by: André Bauer Co-authored-by: MH --- charts/prometheus/Chart.lock | 12 ++++++------ charts/prometheus/Chart.yaml | 10 +++++----- charts/prometheus/README.md | 34 ++++++++++++++++------------------ 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/charts/prometheus/Chart.lock b/charts/prometheus/Chart.lock index 892db041c274..1c0af3635198 100644 --- a/charts/prometheus/Chart.lock +++ b/charts/prometheus/Chart.lock @@ -1,15 +1,15 @@ dependencies: - name: alertmanager repository: https://prometheus-community.github.io/helm-charts - version: 0.30.1 + version: 0.33.1 - name: kube-state-metrics repository: https://prometheus-community.github.io/helm-charts - version: 4.30.0 + version: 5.8.1 - name: prometheus-node-exporter repository: https://prometheus-community.github.io/helm-charts - version: 4.8.1 + version: 4.18.1 - name: prometheus-pushgateway repository: https://prometheus-community.github.io/helm-charts - version: 2.0.4 -digest: sha256:1a354a1b56ba502f254057bcf055e7add95c077100640716e976bfbfffa0fdd0 -generated: "2023-05-03T12:23:06.523448751-07:00" + version: 2.3.0 +digest: sha256:8d4f6a9def838e338d9abf528e3e45a35ea87ae2bf9d4cc8d96e4df6832c4278 +generated: "2023-06-27T10:44:03.318233083Z" diff --git a/charts/prometheus/Chart.yaml b/charts/prometheus/Chart.yaml index ab4f53638eb4..5daa52c78b0a 100644 --- a/charts/prometheus/Chart.yaml +++ b/charts/prometheus/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: prometheus appVersion: v2.45.0 -version: 22.7.0 +version: 23.0.0 kubeVersion: ">=1.16.0-0" description: Prometheus is a monitoring system and time series database. home: https://prometheus.io/ @@ -26,19 +26,19 @@ maintainers: type: application dependencies: - name: alertmanager - version: "0.30.*" + version: "0.33.*" repository: https://prometheus-community.github.io/helm-charts condition: alertmanager.enabled - name: kube-state-metrics - version: "4.30.*" + version: "5.8.*" repository: https://prometheus-community.github.io/helm-charts condition: kube-state-metrics.enabled - name: prometheus-node-exporter - version: "4.8.*" + version: "4.18.*" repository: https://prometheus-community.github.io/helm-charts condition: prometheus-node-exporter.enabled - name: prometheus-pushgateway - version: "2.0.*" + version: "2.3.*" repository: https://prometheus-community.github.io/helm-charts condition: prometheus-pushgateway.enabled keywords: diff --git a/charts/prometheus/README.md b/charts/prometheus/README.md index d3e29d6dc1f6..51d42297782c 100644 --- a/charts/prometheus/README.md +++ b/charts/prometheus/README.md @@ -20,7 +20,7 @@ _See [helm repository](https://helm.sh/docs/helm/helm_repo/) for command documen ## Install Chart -Start from Version 16.0, Prometheus chart required Helm 3.7+ in order to install successfully. Please check your Helm chart version before installation. +Starting with version 16.0, the Prometheus chart requires Helm 3.7+ in order to install successfully. Please check your `helm` release before installation. ```console helm install [RELEASE_NAME] prometheus-community/prometheus @@ -60,32 +60,30 @@ A [`values.schema.json`](https://helm.sh/docs/topics/charts/#schema-files) file ## Upgrading Chart ```console -helm upgrade [RELEASE_NAME] [CHART] --install +helm upgrade [RELEASE_NAME] prometheus-community/prometheus --install ``` _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._ -### To 22.7 +### To 23.0 -`commonMetaLabels` has been added. This can be used to set custom metadata labels to resources created by this chart, e.g. when you have policies requiring certain metadata labels. +Release 5.0.0 of the _kube-state-metrics_ chart introduced a separation of the `image.repository` value in two distinct values: -### To 22.6 - -Prometheus has been bumped to release [v2.44.0](https://github.com/prometheus/prometheus/releases/tag/v2.44.0). - -### To 22.5 - -clusterRoleNameOverride has been added to deal with situations where there is a use-case to deploy Prometheus server per namespace and hence being able to set the names of ClusterRole and ClusterRoleBinding independently - -### To 22.4 +```console + image: + registry: registry.k8s.io + repository: kube-state-metrics/kube-state-metrics + ``` -Support for environment variables in the _prometheus-config-reloader_'s container has been added through `configmapReload.env`. These can be useful together with `configmapReload.reloadUrl` if basic authentication is set at Prometheus. +If a custom values file or CLI flags set `kube-state.metrics.image.repository`, please, set the new values accordingly. -_prometheus-config-reloader_ has been bumped to release [0.65.1](https://github.com/prometheus-operator/prometheus-operator/releases). +If you are upgrading _prometheus-pushgateway_ with the chart and _prometheus-pushgateway_ has been deployed as a statefulset with a persistent volume, the statefulset must be deleted before upgrading the chart, e.g.: -### To 22.3 +```bash +kubectl delete sts -l app.kubernetes.io/name=prometheus-pushgateway -n monitoring --cascade=orphan +``` -Prometheus has been bumped to release [v2.43.1](https://github.com/prometheus/prometheus/releases/tag/v2.43.1) which is a bugfix release. +Users are advised to review changes in the corresponding chart releases before upgrading. ### To 22.0 @@ -269,7 +267,7 @@ See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_h helm show values prometheus-community/prometheus ``` -You may similarly use the above configuration commands on each chart [dependency](#dependencies) to see it's configurations. +You may similarly use the above configuration commands on each chart [dependency](#dependencies) to see its configurations. ### Scraping Pod Metrics via Annotations