Skip to content

Commit

Permalink
[prometheus] Bump chart dependencies (prometheus-community#3422)
Browse files Browse the repository at this point in the history
* 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 <monotek@users.noreply.github.com>

* 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 <monotek@users.noreply.github.com>
Co-authored-by: André Bauer <monotek@users.noreply.github.com>
Co-authored-by: MH <zanhsieh@gmail.com>
  • Loading branch information
3 people committed Jul 6, 2023
1 parent b981c2b commit 644e23d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 29 deletions.
12 changes: 6 additions & 6 deletions charts/prometheus/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
10 changes: 5 additions & 5 deletions charts/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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:
Expand Down
34 changes: 16 additions & 18 deletions charts/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 644e23d

Please sign in to comment.