-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
charts,salt,build: Bump kube-prometheus-stack chart to 35.0.3
Bump the kube-prometheus-stack chart to 35.0.3 and also bump images: - alertmanager to v0.24.0 - grafana to 8.4.7-ubuntu - k8s-sidecar to 1.15.6 - kube-state-metrics to v2.4.1 - prometheus to v2.35.0 - prometheus-config-reloader to v0.56.0 - prometheus-operator to v0.56.0 - thanos to v0.25.2 Upgrade the kube-prometheus-stack chart using: ``` rm -rf charts/kube-prometheus-stack helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm fetch -d charts --untar prometheus-community/kube-prometheus-stack ``` Re-render prometheus-operator salt state using: ``` ./charts/render.py prometheus-operator \ charts/kube-prometheus-stack.yaml \ charts/kube-prometheus-stack/ \ --namespace metalk8s-monitoring \ --service-config grafana \ metalk8s-grafana-config \ metalk8s/addons/prometheus-operator/config/grafana.yaml.j2 \ metalk8s-monitoring \ --service-config prometheus \ metalk8s-prometheus-config \ metalk8s/addons/prometheus-operator/config/prometheus.yaml \ metalk8s-monitoring \ --service-config alertmanager \ metalk8s-alertmanager-config \ metalk8s/addons/prometheus-operator/config/alertmanager.yaml \ metalk8s-monitoring \ --drop-prometheus-rules charts/drop-prometheus-rules.yaml \ --patch 'PrometheusRule,metalk8s-monitoring,prometheus-operator-kubernetes-system-kubelet,spec:groups:0:rules:1:for,"5m"' \ --remove-manifest ConfigMap prometheus-operator-grafana \ > salt/metalk8s/addons/prometheus-operator/deployed/chart.sls ``` We also bump the thanos image in thanos chart and re-render the chart with the following command: ``` ./charts/render.py thanos charts/thanos.yaml \ charts/thanos/ --namespace metalk8s-monitoring \ > salt/metalk8s/addons/prometheus-operator/deployed/thanos-chart.sls ``` Extract again all Prometheus rules using: ``` ./tools/rule_extractor/rule_extractor.py \ -i <control-plane-ip> -p 8443 -t rules ```
- Loading branch information
1 parent
8c121a1
commit 6525d3f
Showing
67 changed files
with
4,515 additions
and
4,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
dependencies: | ||
- name: kube-state-metrics | ||
repository: https://prometheus-community.github.io/helm-charts | ||
version: 4.4.3 | ||
version: 4.7.0 | ||
- name: prometheus-node-exporter | ||
repository: https://prometheus-community.github.io/helm-charts | ||
version: 2.5.0 | ||
version: 3.1.1 | ||
- name: grafana | ||
repository: https://grafana.github.io/helm-charts | ||
version: 6.21.2 | ||
digest: sha256:a269c9b0db3d51919159cc5f001b6bd77ab0c0a518b5082d95bd62dd1e9ffb1e | ||
generated: "2022-02-07T13:03:04.53094609+01:00" | ||
version: 6.26.5 | ||
digest: sha256:0e6ea942dc95be70ac849f7a4f0e967de774bd5d2fba2676e26446ecd234f838 | ||
generated: "2022-04-22T15:58:03.872863215+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.