chore: upgrade kube-prometheus-stack to v19.1.0 gprd
Background
We need to have a version of the CRDs and chart that supports
startupProbes
as part of a corrective
action.
Solution
Upgrade to the latest stable version v19.1.0
which is running on
gstg
, ops
, and other environments.
Use the specific version of prometheus-operator
0a38647379a5e93f639bf8e634deabcc32e01fb6
so that the operator can accept new fields of the alertmanager config as
described in detail in
!494 (merged)
Update kube-state-metrics
helm chart to specify a set of allowed
labels since in
https://github.com/kubernetes/kube-state-metrics/pull/1125
kube-state-metrics
restricted which k8s labels show inside of the
metric label, a more detailed explanation can be found in
https://gitlab.com/gitlab-com/gl-infra/ks-workloads/gitlab-helmfiles/-/merge_requests/508
Version Upgrades
component | before | after |
---|---|---|
prometheus-operator |
v0.42.1 | master@sha256:bb79240165868c7d73d3db2b45bd065bf2b3050729aa4809f6de79cace232feb |
kube-state-metrics |
v1.9.7 | v2.2.0 |
prometheus-community/kube-prometheus-stack |
10.3.5 | 19.1.0 |
reference: https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/13973