Update registry.k8s.io/kube-state-metrics/kube-state-metrics Docker tag to v2.20.0 #778

Merged
AverageMarcus merged 1 commits from renovate/registry.k8s.io-kube-state-metrics-kube-state-metrics-2.x into master 2026-08-20 11:39:22 +00:00
Collaborator

This PR contains the following updates:

Package Update Change
registry.k8s.io/kube-state-metrics/kube-state-metrics minor v2.19.1v2.20.0

Release Notes

kubernetes/kube-state-metrics (registry.k8s.io/kube-state-metrics/kube-state-metrics)

v2.20.0

Compare Source

NOTE: Custom Resource State (CRS) metrics are now feature-frozen; no new CRS features will be accepted going forward. See #​3050 for details.

  • This release builds with Go v1.26.6

  • This release builds with k8s.io/client-go: v0.36.3

  • [CHANGE] kube_pod_status_reason now emits a row only for the reason that is actually set, instead of one zero/one row per known reason for every pod by @​bhope in #​3089

  • [FEATURE] Add kube_pod_status_disruption_reason metric for pods evicted via the Eviction API by @​bhope in #​3088

  • [FEATURE] Add MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding metrics by @​mrueg in #​3019

  • [FEATURE] Add ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding metrics by @​mrueg in #​3014

  • [FEATURE] Add HPA scale up/down behavior tolerance metrics by @​emmayusufu in #​3015

  • [FEATURE] Add kube_node_spec_pod_cidrs metric by @​emmayusufu in #​3011

  • [FEATURE] Add kube_pod_resourceclaim_info metric for DRA ResourceClaim references by @​cyber-slave-labs in #​3005

  • [FEATURE] Add kube_pod_init_container_status_last_terminated_exitcode metric by @​emmayusufu in #​3000

  • [FEATURE] Add init container state_started and last_terminated_timestamp metrics by @​emmayusufu in #​2997

  • [FEATURE] Shard only resource mutation watch events by @​jfremy-openai in #​2993

  • [FEATURE] Add label generation support for ephemeral volumes in pods by @​eminaktas in #​2891

  • [FEATURE] Allow wildcards in annotation and label allowlists by @​skoef in #​2873

  • [FEATURE] Add access mode metric for PersistentVolumes by @​viragvoros in #​2823

  • [ENHANCEMENT] Reduce allocations in metric generation and header sanitization by @​mrueg in #​3060

  • [ENHANCEMENT] Implement cache.Store Bookmark and LastStoreSyncResourceVersion in MetricsStore for client-go 0.36 compatibility by @​mrueg in #​2965

  • [BUGFIX] Don't panic on a Deployment with an unset rollingUpdate value by @​mrueg in #​3083

  • [BUGFIX] Serialize config reloads so one does not strand another instance by @​mrueg in #​3070

  • [BUGFIX] Rebuild clients from the current kubeconfig on reload by @​mrueg in #​3080

  • [BUGFIX] Check CRD fields instead of asserting them during discovery by @​mrueg in #​3078

  • [BUGFIX] Build each EndpointSlice hint's labels independently by @​mrueg in #​3076

  • [BUGFIX] Guard the store builder state shared with discovery by @​mrueg in #​3075

  • [BUGFIX] Read the discovery GVK cache under the lock by @​mrueg in #​3074

  • [BUGFIX] Scope the metrics handler scrape lock to reading the writers by @​mrueg in #​3073

  • [BUGFIX] Skip an HPA status metric whose source is not set by @​mrueg in #​3071

  • [BUGFIX] Fix three issues in the server request and shutdown paths by @​mrueg in #​3068

  • [BUGFIX] Escape reserved characters in metric help text by @​mrueg in #​3067

  • [BUGFIX] Don't panic on a custom resource metric that fails to compile by @​mrueg in #​3066

  • [BUGFIX] Preserve pagination metadata when filtering a sharded list by @​mrueg in #​3065

  • [BUGFIX] Never emit the same label name twice by @​mrueg in #​3064

  • [BUGFIX] Don't dereference an unset EndpointSlice port number by @​mrueg in #​3063

  • [BUGFIX] Write headers when only a later store has metrics by @​mrueg in #​3061

  • [BUGFIX] Don't emit nil metrics for unparseable pod IPs by @​mrueg in #​3059

  • [BUGFIX] Fix wrong labels applied to the endpointslices metric by @​odinuge in #​3058

  • [BUGFIX] Embed tzdata so named CronJob spec.timeZone values resolve by @​SteeleND in #​3022

  • [BUGFIX] Prevent leaked goroutines on CRD updates by @​jfremy-openai in #​3007

  • [BUGFIX] Start the zombie-process reaper only once by @​mrueg in #​3079

  • [BUGFIX] Emit the default suspend metric value for CronJobs by @​immanuwell in #​2999

  • [BUGFIX] Prevent duplicate cluster-scoped metrics when using --namespaces by @​emmayusufu in #​2998

  • [BUGFIX] Log when a configured custom resource CRD is absent by @​aryanputta in #​2996

  • [BUGFIX] Handle omitted minReplicas in HPA metrics by @​immanuwell in #​2991

  • [BUGFIX] Stop the CRD discoverer when its context is canceled by @​L3n41c in #​2977

  • [BUGFIX] Guard nil Spec.Replicas before dereferencing on Deployments by @​immanuwell in #​2971

  • [BUGFIX] Guard nil suspend field in CronJob next-schedule metric by @​immanuwell in #​2970

  • [BUGFIX] Ignore non-served CRD versions in discovery by @​boomer41 in #​2940

  • [BUGFIX] Skip landing page registration on NewLandingPage error by @​carterpewpew in #​2937

  • [BUGFIX] Log when a configured custom resource CRD is not installed in the cluster by @​maksimp13 in #​2903

  • [BUGFIX] Handle nil path gracefully in StateSet metrics by @​Br1an67 in #​2884


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [registry.k8s.io/kube-state-metrics/kube-state-metrics](https://github.com/kubernetes/kube-state-metrics) | minor | `v2.19.1` → `v2.20.0` | --- ### Release Notes <details> <summary>kubernetes/kube-state-metrics (registry.k8s.io/kube-state-metrics/kube-state-metrics)</summary> ### [`v2.20.0`](https://github.com/kubernetes/kube-state-metrics/blob/HEAD/CHANGELOG.md#v2200--2026-08-16) [Compare Source](https://github.com/kubernetes/kube-state-metrics/compare/v2.19.1...v2.20.0) NOTE: Custom Resource State (CRS) metrics are now feature-frozen; no new CRS features will be accepted going forward. See [#&#8203;3050](https://github.com/kubernetes/kube-state-metrics/pull/3050) for details. - This release builds with Go `v1.26.6` - This release builds with `k8s.io/client-go`: `v0.36.3` - \[CHANGE] `kube_pod_status_reason` now emits a row only for the reason that is actually set, instead of one zero/one row per known reason for every pod by [@&#8203;bhope](https://github.com/bhope) in [#&#8203;3089](https://github.com/kubernetes/kube-state-metrics/pull/3089) - \[FEATURE] Add `kube_pod_status_disruption_reason` metric for pods evicted via the Eviction API by [@&#8203;bhope](https://github.com/bhope) in [#&#8203;3088](https://github.com/kubernetes/kube-state-metrics/pull/3088) - \[FEATURE] Add MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding metrics by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3019](https://github.com/kubernetes/kube-state-metrics/pull/3019) - \[FEATURE] Add ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding metrics by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3014](https://github.com/kubernetes/kube-state-metrics/pull/3014) - \[FEATURE] Add HPA scale up/down behavior tolerance metrics by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;3015](https://github.com/kubernetes/kube-state-metrics/pull/3015) - \[FEATURE] Add `kube_node_spec_pod_cidrs` metric by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;3011](https://github.com/kubernetes/kube-state-metrics/pull/3011) - \[FEATURE] Add `kube_pod_resourceclaim_info` metric for DRA ResourceClaim references by [@&#8203;cyber-slave-labs](https://github.com/cyber-slave-labs) in [#&#8203;3005](https://github.com/kubernetes/kube-state-metrics/pull/3005) - \[FEATURE] Add `kube_pod_init_container_status_last_terminated_exitcode` metric by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;3000](https://github.com/kubernetes/kube-state-metrics/pull/3000) - \[FEATURE] Add init container `state_started` and `last_terminated_timestamp` metrics by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;2997](https://github.com/kubernetes/kube-state-metrics/pull/2997) - \[FEATURE] Shard only resource mutation watch events by [@&#8203;jfremy-openai](https://github.com/jfremy-openai) in [#&#8203;2993](https://github.com/kubernetes/kube-state-metrics/pull/2993) - \[FEATURE] Add label generation support for ephemeral volumes in pods by [@&#8203;eminaktas](https://github.com/eminaktas) in [#&#8203;2891](https://github.com/kubernetes/kube-state-metrics/pull/2891) - \[FEATURE] Allow wildcards in annotation and label allowlists by [@&#8203;skoef](https://github.com/skoef) in [#&#8203;2873](https://github.com/kubernetes/kube-state-metrics/pull/2873) - \[FEATURE] Add access mode metric for PersistentVolumes by [@&#8203;viragvoros](https://github.com/viragvoros) in [#&#8203;2823](https://github.com/kubernetes/kube-state-metrics/pull/2823) - \[ENHANCEMENT] Reduce allocations in metric generation and header sanitization by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3060](https://github.com/kubernetes/kube-state-metrics/pull/3060) - \[ENHANCEMENT] Implement `cache.Store` Bookmark and LastStoreSyncResourceVersion in MetricsStore for client-go 0.36 compatibility by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;2965](https://github.com/kubernetes/kube-state-metrics/pull/2965) - \[BUGFIX] Don't panic on a Deployment with an unset `rollingUpdate` value by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3083](https://github.com/kubernetes/kube-state-metrics/pull/3083) - \[BUGFIX] Serialize config reloads so one does not strand another instance by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3070](https://github.com/kubernetes/kube-state-metrics/pull/3070) - \[BUGFIX] Rebuild clients from the current kubeconfig on reload by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3080](https://github.com/kubernetes/kube-state-metrics/pull/3080) - \[BUGFIX] Check CRD fields instead of asserting them during discovery by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3078](https://github.com/kubernetes/kube-state-metrics/pull/3078) - \[BUGFIX] Build each EndpointSlice hint's labels independently by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3076](https://github.com/kubernetes/kube-state-metrics/pull/3076) - \[BUGFIX] Guard the store builder state shared with discovery by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3075](https://github.com/kubernetes/kube-state-metrics/pull/3075) - \[BUGFIX] Read the discovery GVK cache under the lock by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3074](https://github.com/kubernetes/kube-state-metrics/pull/3074) - \[BUGFIX] Scope the metrics handler scrape lock to reading the writers by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3073](https://github.com/kubernetes/kube-state-metrics/pull/3073) - \[BUGFIX] Skip an HPA status metric whose source is not set by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3071](https://github.com/kubernetes/kube-state-metrics/pull/3071) - \[BUGFIX] Fix three issues in the server request and shutdown paths by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3068](https://github.com/kubernetes/kube-state-metrics/pull/3068) - \[BUGFIX] Escape reserved characters in metric help text by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3067](https://github.com/kubernetes/kube-state-metrics/pull/3067) - \[BUGFIX] Don't panic on a custom resource metric that fails to compile by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3066](https://github.com/kubernetes/kube-state-metrics/pull/3066) - \[BUGFIX] Preserve pagination metadata when filtering a sharded list by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3065](https://github.com/kubernetes/kube-state-metrics/pull/3065) - \[BUGFIX] Never emit the same label name twice by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3064](https://github.com/kubernetes/kube-state-metrics/pull/3064) - \[BUGFIX] Don't dereference an unset EndpointSlice port number by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3063](https://github.com/kubernetes/kube-state-metrics/pull/3063) - \[BUGFIX] Write headers when only a later store has metrics by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3061](https://github.com/kubernetes/kube-state-metrics/pull/3061) - \[BUGFIX] Don't emit nil metrics for unparseable pod IPs by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3059](https://github.com/kubernetes/kube-state-metrics/pull/3059) - \[BUGFIX] Fix wrong labels applied to the endpointslices metric by [@&#8203;odinuge](https://github.com/odinuge) in [#&#8203;3058](https://github.com/kubernetes/kube-state-metrics/pull/3058) - \[BUGFIX] Embed tzdata so named CronJob `spec.timeZone` values resolve by [@&#8203;SteeleND](https://github.com/SteeleND) in [#&#8203;3022](https://github.com/kubernetes/kube-state-metrics/pull/3022) - \[BUGFIX] Prevent leaked goroutines on CRD updates by [@&#8203;jfremy-openai](https://github.com/jfremy-openai) in [#&#8203;3007](https://github.com/kubernetes/kube-state-metrics/pull/3007) - \[BUGFIX] Start the zombie-process reaper only once by [@&#8203;mrueg](https://github.com/mrueg) in [#&#8203;3079](https://github.com/kubernetes/kube-state-metrics/pull/3079) - \[BUGFIX] Emit the default suspend metric value for CronJobs by [@&#8203;immanuwell](https://github.com/immanuwell) in [#&#8203;2999](https://github.com/kubernetes/kube-state-metrics/pull/2999) - \[BUGFIX] Prevent duplicate cluster-scoped metrics when using `--namespaces` by [@&#8203;emmayusufu](https://github.com/emmayusufu) in [#&#8203;2998](https://github.com/kubernetes/kube-state-metrics/pull/2998) - \[BUGFIX] Log when a configured custom resource CRD is absent by [@&#8203;aryanputta](https://github.com/aryanputta) in [#&#8203;2996](https://github.com/kubernetes/kube-state-metrics/pull/2996) - \[BUGFIX] Handle omitted `minReplicas` in HPA metrics by [@&#8203;immanuwell](https://github.com/immanuwell) in [#&#8203;2991](https://github.com/kubernetes/kube-state-metrics/pull/2991) - \[BUGFIX] Stop the CRD discoverer when its context is canceled by [@&#8203;L3n41c](https://github.com/L3n41c) in [#&#8203;2977](https://github.com/kubernetes/kube-state-metrics/pull/2977) - \[BUGFIX] Guard nil `Spec.Replicas` before dereferencing on Deployments by [@&#8203;immanuwell](https://github.com/immanuwell) in [#&#8203;2971](https://github.com/kubernetes/kube-state-metrics/pull/2971) - \[BUGFIX] Guard nil suspend field in CronJob next-schedule metric by [@&#8203;immanuwell](https://github.com/immanuwell) in [#&#8203;2970](https://github.com/kubernetes/kube-state-metrics/pull/2970) - \[BUGFIX] Ignore non-served CRD versions in discovery by [@&#8203;boomer41](https://github.com/boomer41) in [#&#8203;2940](https://github.com/kubernetes/kube-state-metrics/pull/2940) - \[BUGFIX] Skip landing page registration on `NewLandingPage` error by [@&#8203;carterpewpew](https://github.com/carterpewpew) in [#&#8203;2937](https://github.com/kubernetes/kube-state-metrics/pull/2937) - \[BUGFIX] Log when a configured custom resource CRD is not installed in the cluster by [@&#8203;maksimp13](https://github.com/maksimp13) in [#&#8203;2903](https://github.com/kubernetes/kube-state-metrics/pull/2903) - \[BUGFIX] Handle nil path gracefully in StateSet metrics by [@&#8203;Br1an67](https://github.com/Br1an67) in [#&#8203;2884](https://github.com/kubernetes/kube-state-metrics/pull/2884) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zMy4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzMuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2026-08-19 03:06:56 +00:00
AverageMarcus merged commit 80b3f2c1d6 into master 2026-08-20 11:39:22 +00:00
AverageMarcus deleted branch renovate/registry.k8s.io-kube-state-metrics-kube-state-metrics-2.x 2026-08-20 11:39:23 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: AverageMarcus/cluster.fun#778