Skip to content

Releases: kubernetes/kube-state-metrics

v2.12.0 / 2024-04-02

03 Apr 07:56
1e8b837
Compare
Choose a tag to compare

Note

  • This release addresses a critical issue where scraping the exposition data for certain types caused metrics-backends to crash: #2248.
  • This release builds with k8s.io/client-go: v0.29.3.

Changes

  • [BUGFIX] Fallback to gauge for protobuf-based negotiations by @rexagod in #2270
  • [ENHANCEMENT] Add kube_pod_container_status_last_terminated_timestampby @tetianakravchenko in #2291
  • [FEATURE] Allow prefixing expandable paths by @rexagod in #2052

v2.11.0 / 2024-03-04

13 Mar 20:26
5e4e7d0
Compare
Choose a tag to compare

Note

This release builds with Golang v1.21.8.

Changes

  • [ENHANCEMENT] Add OpenSSF Scorecard to README by @dalehenries in #2277
  • [ENHANCEMENT] Generate OpenVX data for every release by @shafeeqes in #2276
  • [ENHANCEMENT] Add restartPolicy to kube_pod_init_container_info metric by @changhyuni in #2240
  • [FEATURE] Add kube_node_status_addresses metric by @stonith in #2252
  • [FEATURE] Add namespace label to endpointslice metrics by @mrueg in #2266
  • [FEATURE] Add opt-in kube_persistentvolume_csi_attributes metric by @machadovilaca in #2133
  • [FEATURE] Add new metric kube_pod_scheduler metric by @adinhodovic in #2222
  • [FEATURE] Support filtering annotations allow-list by * by @xonvanetta in #2234
  • [ENHANCEMENT] Support scraping pod metrics that are still in scheduling status and have no assigned nodes by @mickeyzzc in #2217
  • [FEATURE] Add backend resource info for kube_ingress_path by @rohitphatak in #2109
  • [FEATURE] Add kube_secret_owner by @jrcichra in #2298

v2.10.1 / 2023-10-09

09 Nov 15:45
c90c81c
Compare
Choose a tag to compare

Note

  • This release addresses a regression introduced in #2105.

Changes

  • [BUGFIX] Remove FieldSelector from non-namespaced resources by @mrueg and @dgrisonnet in #2190
  • [ENHANCEMENT] Bump Go to v1.20.8

v2.10.0 / 2023-08-31

31 Aug 16:56
25fb4fa
Compare
Choose a tag to compare

Note

  • Label and annotation metrics aren't exposed by default anymore to reduce the memory usage of the default configuration of kube-state-metrics. Before this change, they used to only include the name and namespace of the objects which is not relevant to users not opting in these metrics.

Changes

  • [BUGFIX] Log no _info suffix in name only once per reading the configuration for custommetrics by @chrischdi in #2157
  • [BUGFIX] Don't crash on non-existent valueFrom path values by @chihshenghuang in #2140
  • [BUGFIX] Index out of range in metrics_store.SanitizeHeaders by @mrueg in #2166
  • [BUGFIX] Always extract the headers but only write it when we have custommetrics by @chrischdi in #2154
  • [BUGFIX] Add filtering for Lease metrics by @ntoofu in #2122
  • [FEATURE] Implement kube_pod_status_initialized_time by @opeco17 in #2148
  • [FEATURE] Disable labels and annotations metrics when metric-annotations-… by @opeco17 in #2145
  • [FEATURE] Add webhooks client config service metrics by @dgrisonnet in #2114
  • [FEATURE] Support kube_persistentvolumeclaim_deletion_timestamp by @maxime1907 in #2074
  • [FEATURE] Support kube_persistentvolume_deletion_timestamp by @maxime1907 in #2075
  • [FEATURE] Adds new metric kube_pod_service_account by @swarup-stripe in #2096
  • [FEATURE] Add volumemode to PVC info metric by @machadovilaca in #2134
  • [FEATURE] Enable metric-annotations-allowlist and metric-labels-allowlist for ResourceQuota by @opeco17 in #2175
  • [FEATURE] Allow field KV general matching by @rexagod in #2067
  • [FEATURE] Support hot reload for kubeconfig by @opeco17 in #2144
  • [FEATURE] Add support for endpoint topology routing hints by @MarkSRobinson in #2090

New Contributors

Full Changelog: v2.9.2...v2.10.0

v2.9.2

31 May 09:28
93fe0be
Compare
Choose a tag to compare

What's Changed

This release does not incorporate any user-facing changes. Re-running release procedures as the process for the previous release failed. Changes are listed in v2.9.0. Also, as a side note, we are currently in the middle of revamping (and automating) the release machinery based on recent observations, and we'll try our best to not introduce anymore hiccups along the way. 🙂

Full Changelog: v2.9.1...v2.9.2

v2.9.1

28 May 22:44
fe5e38f
Compare
Choose a tag to compare
v2.9.1 Pre-release
Pre-release

What's Changed

  • Increase timeout and update cloudbuild image by @mrueg in #2083

Full Changelog: v2.9.0...v2.9.1

v2.9.0

23 May 17:33
95a5c8d
Compare
Choose a tag to compare
v2.9.0 Pre-release
Pre-release

The changes mentioned below are only the user-facing ones. For a list of the complete set of changes, refer the changelog associated with the release tag.

Note

  • The release-candidate pre-release was updated to a stable v2.9.0 tag. Going forward, release-candidate pre-releases will only be done for major releases.
  • The deprecated experimental VerticalPodAutoscaler metrics are no longer supported, and have been removed. We recommend to use CustomResourceState metrics to gather metrics from custom resources like the Vertical Pod Autoscaler.
  • #2004 regulated label names to adhere with OTel-Prometheus standards, so existing label names that do not follow the same may be replaced by the ones that do. Please refer to the PR for more details.

v2.8.2 / 2023-03-17

16 Mar 10:34
3ed7a6c
Compare
Choose a tag to compare

v2.8.2 / 2023-03-17

Full Changelog: v2.8.1...v2.8.2

v2.8.1 / 2023-02-22

22 Feb 14:23
fb15826
Compare
Choose a tag to compare

v2.8.1 / 2023-02-22

Full Changelog: v2.8.0...v2.8.1

v2.8.0 / 2023-02-10

09 Feb 19:02
2fd22c4
Compare
Choose a tag to compare

Note: The --version flag was removed as kube-state-metrics version also provides the same information. See #1956

Note: Experimental CustomResourceState changed their labels for better usability. See #1942
kube_crd_uptime{group="myteam.io", kind="Foo", version="v1"} -> kube_customresource_uptime{customresource_group="myteam.io", customresource_kind="Foo", customresource_version="v1"}

  • [CHANGE] Prefix Group, Version and Kind labels for CustomResourceState Metrics #1942 @bavarianbidi
  • [CHANGE] Fix empty string for "owner_*" dimensions #1923 @pawcykca
  • [CHANGE] Remove broken --version flag, replace by version command #1956 @bjorand
  • [FEATURE] Add metrics for EndpointSlices #1910 @mrueg
  • [FEATURE] Add metrics for config file changes #1916 @mrueg
  • [FEATURE] Add metrics for CustomResource State config file change #1928 @mrueg
  • [FEATURE] Reload Kube-State-Metrics on CustomResourceState config file change #1930 @mrueg
  • [FEATURE] Make CustomResourceState metrics type dynamic #1930 @rexagod
  • [FEATURE] Add kube_pod_status_qos_class to pod metrics #1932 @frezes
  • [FEATURE] Add kube_pod_status_ready_time and kube_pod_status_containers_ready_time metrics #1938 @ryanrolds
  • [FEATURE] Enrich UserAgent with more information about kube-state-metrics #1960 @mrueg
  • [FEATURE] Convert True/False to 1.0/0.0 values in CustomResourceState metrics #1963 @jabdoa2
  • [FEATURE] Expose metrics in OpenMetrics format #1974 @mrueg
  • [BUGFIX] Handle unit length valueFrom values #1958 @rexagod
  • [ENHANCEMENT] Build with kubernetes 1.26 #1933 @mrueg

New Contributors

Full Changelog: v2.7.0...v2.8.0