Previously, the version of kube-state-metrics (app v2.2.4 chart v4.18.0) deployed in the cluster would support k8s until 1.23.
For kubernetes 1.24, we need kube-state-metrics app v2.6.0 and chart v4.18.0.
Links:
- https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/119/diffs
- https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/blob/main/components/wmcs-k8s-metrics/values/common/kube-state-metrics.yaml
- https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/blob/main/components/wmcs-k8s-metrics/values/tools.yaml
- https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/blob/main/components/wmcs-k8s-metrics/values/toolsbeta.yaml
- https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/blob/main/components/wmcs-k8s-metrics/values/local.yaml
- https://github.com/kubernetes/kube-state-metrics/releases/tag/v2.6.0
- https://github.com/kubernetes/kube-state-metrics?tab=readme-ov-file#compatibility-matrix
- https://github.com/prometheus-community/helm-charts/commit/09118d526a5ca562fde11502621c16a8960a2ee0