Skip to content

Commit ffb1c2e

Browse files
authored
Merge pull request #667 from nhudson/fix_kube_prometheus
upgrade kube-prometheus-stack to latest version
2 parents 7861b1c + c84609a commit ffb1c2e

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

chart/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords:
1212
- monitoring
1313
- tracing
1414
- opentelemetry
15-
version: 18.3.0
15+
version: 19.0.0
1616
# TODO(paulfantom): Enable after kubernetes 1.22 reaches EOL (2022-10-28)
1717
# kubeVersion: ">= 1.23.0"
1818
dependencies:
@@ -26,7 +26,7 @@ dependencies:
2626
repository: https://charts.timescale.com
2727
- name: kube-prometheus-stack
2828
condition: kube-prometheus-stack.enabled
29-
version: 41.9.1
29+
version: 42.2.0
3030
repository: https://prometheus-community.github.io/helm-charts
3131
- name: opentelemetry-operator
3232
condition: opentelemetry-operator.enabled

chart/values.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ kube-prometheus-stack:
116116
alertmanager:
117117
alertmanagerSpec:
118118
image:
119-
repository: quay.io/prometheus/alertmanager
119+
registry: quay.io
120+
repository: prometheus/alertmanager
120121
tag: v0.24.0
121122
replicas: 3
122123
## AlertManager resource requests
@@ -129,14 +130,16 @@ kube-prometheus-stack:
129130
cpu: 4m
130131
prometheusOperator:
131132
image:
132-
repository: quay.io/prometheus-operator/prometheus-operator
133+
registry: quay.io
134+
repository: prometheus-operator/prometheus-operator
133135
tag: v0.61.1
134136
pullPolicy: IfNotPresent
135137
## Prometheus config reloader configuration
136138
prometheusConfigReloader:
137139
# image to use for config and rule reloading
138140
image:
139-
repository: quay.io/prometheus-operator/prometheus-config-reloader
141+
registry: quay.io
142+
repository: prometheus-operator/prometheus-config-reloader
140143
tag: v0.61.1
141144
# resource config for prometheusConfigReloader
142145
resources:
@@ -157,8 +160,9 @@ kube-prometheus-stack:
157160
prometheus:
158161
prometheusSpec:
159162
image:
160-
repository: quay.io/prometheus/prometheus
161-
tag: v2.40.4
163+
registry: quay.io
164+
repository: prometheus/prometheus
165+
tag: v2.40.5
162166
scrapeInterval: "1m"
163167
scrapeTimeout: "10s"
164168
evaluationInterval: "1m"
@@ -267,7 +271,7 @@ kube-prometheus-stack:
267271
# TODO(paulfantom): remove with kube-prometheus bump
268272
image:
269273
repository: grafana/grafana
270-
tag: 9.3.0
274+
tag: 9.3.1
271275
pullPolicy: IfNotPresent
272276
resources:
273277
limits:

docs/upgrades.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ Firstly upgrade the helm repo to pull the latest available tobs helm chart. We a
88
helm repo update
99
```
1010

11+
## Upgrading from 18.x to 19.x
12+
13+
There is a breaking change in [kube-prometheus-stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#from-41x-to-42x).
14+
This will add a new configuration option `global.imageRegistry` along with adding
15+
a `registry` configuration to all `image` objects.
16+
17+
```yaml
18+
image:
19+
registry: quay.io
20+
repository: prometheus/alertmanager
21+
tag: v0.24.0
22+
```
23+
1124
## Upgrading from 17.x to 18.x
1225
1326
To get the best performance out of promscale we recommend to query it directly. Since tobs is already shipping grafana datasource configured this way, there is no need to configure `remote_read` option in prometheus. This is a breaking change for people using `remote_read` option. If you need to use `remote_read` option, you can still add it back by putting the following code snippet into your `values.yaml` file.
@@ -35,6 +48,7 @@ Additionally, to prevent data duplication, we are disabling by default
3548
ability to scrape endpoints using prometheus label annotations. If you wish
3649
to continue using this option, you need to explicitly set the following
3750
option:
51+
3852
```yaml
3953
kube-prometheus-stack:
4054
prometheus:

0 commit comments

Comments
 (0)