From 82bffe07cb0a9af5d6ab3d5e6d00fd526656c5d3 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sun, 15 Dec 2024 12:39:45 -0500 Subject: [PATCH 1/4] bump prom to 3.0.1 to align with upstream default Signed-off-by: drfaust92 --- charts/kube-prometheus-stack/Chart.yaml | 2 +- charts/kube-prometheus-stack/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index 875cfd554af7..84c8aaee7ca3 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -23,7 +23,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 66.7.1 +version: 67.0.0 appVersion: v0.79.0 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus diff --git a/charts/kube-prometheus-stack/values.yaml b/charts/kube-prometheus-stack/values.yaml index 838ee8763045..554a7bc11d48 100644 --- a/charts/kube-prometheus-stack/values.yaml +++ b/charts/kube-prometheus-stack/values.yaml @@ -3630,7 +3630,7 @@ prometheus: image: registry: quay.io repository: prometheus/prometheus - tag: v2.55.1 + tag: v3.0.1 sha: "" ## Tolerations for use with node taints From 88b6653a2e9981c85b8d13d22e9afcfca62acbb2 Mon Sep 17 00:00:00 2001 From: drfaust92 Date: Sun, 15 Dec 2024 18:57:58 -0500 Subject: [PATCH 2/4] bump prom to 3.0.1 to align with upstream default Signed-off-by: drfaust92 --- charts/kube-prometheus-stack/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/kube-prometheus-stack/README.md b/charts/kube-prometheus-stack/README.md index 7c217644eb64..5e18e9d8f708 100644 --- a/charts/kube-prometheus-stack/README.md +++ b/charts/kube-prometheus-stack/README.md @@ -82,6 +82,10 @@ _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documen A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an incompatible breaking change needing manual actions. +### From 66.x to 67.x + +This version upgrades Prometheus Image to v3.0.1 as it is the default version starting with operator version v0.79.0 + ### From 65.x to 66.x This version upgrades Prometheus-Operator to v0.78.1 From 3f6f6356b45088a6237b444e9d98b40bcc75480c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Mon, 16 Dec 2024 01:57:42 +0100 Subject: [PATCH 3/4] Update charts/kube-prometheus-stack/README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- charts/kube-prometheus-stack/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/charts/kube-prometheus-stack/README.md b/charts/kube-prometheus-stack/README.md index 5e18e9d8f708..6df017600b9d 100644 --- a/charts/kube-prometheus-stack/README.md +++ b/charts/kube-prometheus-stack/README.md @@ -86,6 +86,19 @@ A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an This version upgrades Prometheus Image to v3.0.1 as it is the default version starting with operator version v0.79.0 +Run these commands to update the CRDs before applying the upgrade. +```console +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml +kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml +``` ### From 65.x to 66.x This version upgrades Prometheus-Operator to v0.78.1 From cc60ddc9064bb2ccdc2545e4db7d817fbec88404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Mon, 16 Dec 2024 02:08:13 +0100 Subject: [PATCH 4/4] Update charts/kube-prometheus-stack/README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- charts/kube-prometheus-stack/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kube-prometheus-stack/README.md b/charts/kube-prometheus-stack/README.md index 6df017600b9d..bbfd7e1e9fd3 100644 --- a/charts/kube-prometheus-stack/README.md +++ b/charts/kube-prometheus-stack/README.md @@ -87,6 +87,7 @@ A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an This version upgrades Prometheus Image to v3.0.1 as it is the default version starting with operator version v0.79.0 Run these commands to update the CRDs before applying the upgrade. + ```console kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml @@ -99,6 +100,7 @@ kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-oper kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.79.0/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml ``` + ### From 65.x to 66.x This version upgrades Prometheus-Operator to v0.78.1