Skip to content

Commit 56b429f

Browse files
irizzantmonotek
authored andcommitted
[kube-prometheus-stack ]Upgrade to 43.0.0 (prometheus-community#2789)
* feat: upgrade to 43.0.0 Signed-off-by: irizzant <[email protected]> * feat: introduce changes to docker images and update changelog Signed-off-by: irizzant <[email protected]> * fix: add missing crds, dashboards, rules Signed-off-by: irizzant <[email protected]> * Update charts/kube-prometheus-stack/README.md Co-authored-by: André Bauer <[email protected]> Signed-off-by: irizzant <[email protected]> * fix: add back `type` to the `persistence` section Signed-off-by: irizzant <[email protected]> * fix: suggest to add `type: pvc` to create a PersistentVolumeClaim Signed-off-by: irizzant <[email protected]> * fix: type must be removed to deploy the StatefulSet Signed-off-by: irizzant <[email protected]> * feat: update Grafana chart dependency Signed-off-by: irizzant <[email protected]> * doc: update README with the right Grafana version Signed-off-by: irizzant <[email protected]> * update readme Signed-off-by: André Bauer <[email protected]> * update dependencies Signed-off-by: André Bauer <[email protected]> Signed-off-by: irizzant <[email protected]> Signed-off-by: André Bauer <[email protected]> Co-authored-by: André Bauer <[email protected]> Co-authored-by: André Bauer <[email protected]>
1 parent d6d84c4 commit 56b429f

22 files changed

+254
-172
lines changed

charts/kube-prometheus-stack/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ dependencies:
77
version: 4.8.0
88
- name: grafana
99
repository: https://grafana.github.io/helm-charts
10-
version: 6.47.0
11-
digest: sha256:d2dd3fce52909fa5b8e2c4e67aebf5dcfa5679a39535b6d14ea3fa3ef8c7f558
12-
generated: "2022-12-09T12:52:01.598143+01:00"
10+
version: 6.47.1
11+
digest: sha256:bfe262803b6d420e96bb9011dbd9fb92e7932c579942c54c265dd1f7b2996aa1
12+
generated: "2022-12-13T12:38:12.353386657+01:00"

charts/kube-prometheus-stack/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ name: kube-prometheus-stack
2222
sources:
2323
- https://github.com/prometheus-community/helm-charts
2424
- https://github.com/prometheus-operator/kube-prometheus
25-
version: 42.3.0
26-
appVersion: 0.60.1
25+
version: 43.0.0
26+
appVersion: 0.61.1
2727
kubeVersion: ">=1.16.0-0"
2828
home: https://github.com/prometheus-operator/kube-prometheus
2929
keywords:

charts/kube-prometheus-stack/README.md

+17
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,23 @@ _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documen
8080

8181
A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions.
8282

83+
### From 42.x to 43.x
84+
85+
This version upgrades Prometheus-Operator to v0.61.1, Prometheus to v2.40.5 and Thanos to v0.29.0.
86+
87+
Run these commands to update the CRDs before applying the upgrade.
88+
89+
```console
90+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
91+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
92+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
93+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
94+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
95+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
96+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
97+
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
98+
```
99+
83100
### From 41.x to 42.x
84101

85102
This includes the overridability of container registry for all containers at the global level using `global.imageRegistry` or per container image. The defaults have not changed but if you were using a custom image, you will have to override the registry of said custom container image before you upgrade.

charts/kube-prometheus-stack/crds/crd-alertmanagerconfigs.yaml

+41-41
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.60.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
1+
# https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.61.1/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
22
---
33
apiVersion: apiextensions.k8s.io/v1
44
kind: CustomResourceDefinition
@@ -313,8 +313,8 @@ spec:
313313
description: TLS configuration
314314
properties:
315315
ca:
316-
description: Struct containing the CA cert to use
317-
for the targets.
316+
description: Certificate authority used when verifying
317+
server certificates.
318318
properties:
319319
configMap:
320320
description: ConfigMap containing data to use
@@ -361,8 +361,8 @@ spec:
361361
x-kubernetes-map-type: atomic
362362
type: object
363363
cert:
364-
description: Struct containing the client cert file
365-
for the targets.
364+
description: Client certificate to present when doing
365+
client-authentication.
366366
properties:
367367
configMap:
368368
description: ConfigMap containing data to use
@@ -724,8 +724,8 @@ spec:
724724
description: TLS configuration for the client.
725725
properties:
726726
ca:
727-
description: Struct containing the CA cert to
728-
use for the targets.
727+
description: Certificate authority used when verifying
728+
server certificates.
729729
properties:
730730
configMap:
731731
description: ConfigMap containing data to
@@ -773,8 +773,8 @@ spec:
773773
x-kubernetes-map-type: atomic
774774
type: object
775775
cert:
776-
description: Struct containing the client cert
777-
file for the targets.
776+
description: Client certificate to present when
777+
doing client-authentication.
778778
properties:
779779
configMap:
780780
description: ConfigMap containing data to
@@ -1170,8 +1170,8 @@ spec:
11701170
description: TLS configuration for the client.
11711171
properties:
11721172
ca:
1173-
description: Struct containing the CA cert to
1174-
use for the targets.
1173+
description: Certificate authority used when verifying
1174+
server certificates.
11751175
properties:
11761176
configMap:
11771177
description: ConfigMap containing data to
@@ -1219,8 +1219,8 @@ spec:
12191219
x-kubernetes-map-type: atomic
12201220
type: object
12211221
cert:
1222-
description: Struct containing the client cert
1223-
file for the targets.
1222+
description: Client certificate to present when
1223+
doing client-authentication.
12241224
properties:
12251225
configMap:
12261226
description: ConfigMap containing data to
@@ -1626,8 +1626,8 @@ spec:
16261626
description: TLS configuration for the client.
16271627
properties:
16281628
ca:
1629-
description: Struct containing the CA cert to
1630-
use for the targets.
1629+
description: Certificate authority used when verifying
1630+
server certificates.
16311631
properties:
16321632
configMap:
16331633
description: ConfigMap containing data to
@@ -1675,8 +1675,8 @@ spec:
16751675
x-kubernetes-map-type: atomic
16761676
type: object
16771677
cert:
1678-
description: Struct containing the client cert
1679-
file for the targets.
1678+
description: Client certificate to present when
1679+
doing client-authentication.
16801680
properties:
16811681
configMap:
16821682
description: ConfigMap containing data to
@@ -2160,8 +2160,8 @@ spec:
21602160
description: TLS configuration for the client.
21612161
properties:
21622162
ca:
2163-
description: Struct containing the CA cert to
2164-
use for the targets.
2163+
description: Certificate authority used when verifying
2164+
server certificates.
21652165
properties:
21662166
configMap:
21672167
description: ConfigMap containing data to
@@ -2209,8 +2209,8 @@ spec:
22092209
x-kubernetes-map-type: atomic
22102210
type: object
22112211
cert:
2212-
description: Struct containing the client cert
2213-
file for the targets.
2212+
description: Client certificate to present when
2213+
doing client-authentication.
22142214
properties:
22152215
configMap:
22162216
description: ConfigMap containing data to
@@ -2552,8 +2552,8 @@ spec:
25522552
description: TLS configuration for the client.
25532553
properties:
25542554
ca:
2555-
description: Struct containing the CA cert to
2556-
use for the targets.
2555+
description: Certificate authority used when verifying
2556+
server certificates.
25572557
properties:
25582558
configMap:
25592559
description: ConfigMap containing data to
@@ -2601,8 +2601,8 @@ spec:
26012601
x-kubernetes-map-type: atomic
26022602
type: object
26032603
cert:
2604-
description: Struct containing the client cert
2605-
file for the targets.
2604+
description: Client certificate to present when
2605+
doing client-authentication.
26062606
properties:
26072607
configMap:
26082608
description: ConfigMap containing data to
@@ -3026,8 +3026,8 @@ spec:
30263026
description: TLS configuration for the client.
30273027
properties:
30283028
ca:
3029-
description: Struct containing the CA cert to
3030-
use for the targets.
3029+
description: Certificate authority used when verifying
3030+
server certificates.
30313031
properties:
30323032
configMap:
30333033
description: ConfigMap containing data to
@@ -3075,8 +3075,8 @@ spec:
30753075
x-kubernetes-map-type: atomic
30763076
type: object
30773077
cert:
3078-
description: Struct containing the client cert
3079-
file for the targets.
3078+
description: Client certificate to present when
3079+
doing client-authentication.
30803080
properties:
30813081
configMap:
30823082
description: ConfigMap containing data to
@@ -3437,8 +3437,8 @@ spec:
34373437
description: TLS configuration for the client.
34383438
properties:
34393439
ca:
3440-
description: Struct containing the CA cert to
3441-
use for the targets.
3440+
description: Certificate authority used when verifying
3441+
server certificates.
34423442
properties:
34433443
configMap:
34443444
description: ConfigMap containing data to
@@ -3486,8 +3486,8 @@ spec:
34863486
x-kubernetes-map-type: atomic
34873487
type: object
34883488
cert:
3489-
description: Struct containing the client cert
3490-
file for the targets.
3489+
description: Client certificate to present when
3490+
doing client-authentication.
34913491
properties:
34923492
configMap:
34933493
description: ConfigMap containing data to
@@ -3808,8 +3808,8 @@ spec:
38083808
description: TLS configuration for the client.
38093809
properties:
38103810
ca:
3811-
description: Struct containing the CA cert to
3812-
use for the targets.
3811+
description: Certificate authority used when verifying
3812+
server certificates.
38133813
properties:
38143814
configMap:
38153815
description: ConfigMap containing data to
@@ -3857,8 +3857,8 @@ spec:
38573857
x-kubernetes-map-type: atomic
38583858
type: object
38593859
cert:
3860-
description: Struct containing the client cert
3861-
file for the targets.
3860+
description: Client certificate to present when
3861+
doing client-authentication.
38623862
properties:
38633863
configMap:
38643864
description: ConfigMap containing data to
@@ -4229,8 +4229,8 @@ spec:
42294229
description: TLS configuration for the client.
42304230
properties:
42314231
ca:
4232-
description: Struct containing the CA cert to
4233-
use for the targets.
4232+
description: Certificate authority used when verifying
4233+
server certificates.
42344234
properties:
42354235
configMap:
42364236
description: ConfigMap containing data to
@@ -4278,8 +4278,8 @@ spec:
42784278
x-kubernetes-map-type: atomic
42794279
type: object
42804280
cert:
4281-
description: Struct containing the client cert
4282-
file for the targets.
4281+
description: Client certificate to present when
4282+
doing client-authentication.
42834283
properties:
42844284
configMap:
42854285
description: ConfigMap containing data to

0 commit comments

Comments
 (0)