Skip to content

Commit

Permalink
fix prometheus update readme (prometheus-community#1541)
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek authored Nov 28, 2021
1 parent 5f08f11 commit ad50e32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: prometheus
appVersion: 2.31.1
version: 15.0.0
version: 15.0.1
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
Expand Down
15 changes: 9 additions & 6 deletions charts/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ _See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation
## Install Chart

```console
# Helm
$ helm install [RELEASE_NAME] prometheus-community/prometheus
helm install [RELEASE_NAME] prometheus-community/prometheus
```

_See [configuration](#configuration) below._
Expand All @@ -42,8 +41,7 @@ _See [helm dependency](https://helm.sh/docs/helm/helm_dependency/) for command d
## Uninstall Chart

```console
# Helm
$ helm uninstall [RELEASE_NAME]
helm uninstall [RELEASE_NAME]
```

This removes all the Kubernetes components associated with the chart and deletes the release.
Expand All @@ -53,8 +51,7 @@ _See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command doc
## Upgrading Chart

```console
# Helm
$ helm upgrade [RELEASE_NAME] [CHART] --install
helm upgrade [RELEASE_NAME] [CHART] --install
```

_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._
Expand All @@ -63,6 +60,12 @@ _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documen

Version 15.0.0 changes the relabeling config, aligning it with the [Prometheus community conventions](https://github.com/prometheus/prometheus/pull/9832). If you've made manual changes to the relabeling config, you have to adapt your changes.

Before you update please execute the following command, to be able to update kube-state-metrics:

```bash
kubectl delete deployments.apps -l app.kubernetes.io/instance=prometheus,app.kubernetes.io/name=kube-state-metrics --cascade=orphan
```

### To 9.0

Version 9.0 adds a new option to enable or disable the Prometheus Server. This supports the use case of running a Prometheus server in one k8s cluster and scraping exporters in another cluster while using the same chart for each deployment. To install the server `server.enabled` must be set to `true`.
Expand Down

0 comments on commit ad50e32

Please sign in to comment.