Skip to content

Releases: kubernetes/kube-state-metrics

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

v2.7.0 / 2022-11-25

24 Nov 16:16
abe3fd3
Compare
Choose a tag to compare

v2.7.0 / 2022-11-25

Note: Experimental VerticalPodAutoscaler metrics are considered deprecated in this release and will be removed in v2.9.0.
Please use CustomResourceStateMetrics to gather metrics from VPA resources. See: #1718

Note: Experimental CustomResourceState changed their naming convention for better usability.
The name of the CRD used to be interpolated into the name of the metric which made it impossible to aggregate a CRD across different versions.
This was changed to have the GVK information represented as labels:
kube_myteam_io_v1_Foo_uptime -> kube_crd_uptime{group="myteam.io", kind="Foo", version="v1"}
See: #1847

  • [CHANGE] Deprecate VerticalPodAutoscaler metrics #1835 @rexagod
  • [CHANGE] Recommend kube-scheduler metrics for container resource limits and requests #1849 @rexagod
  • [FEATURE] Add experimental kube_pod_container_status_last_terminated_exitcode metric #1752 @ssabo
  • [FEATURE] Introduce custom-resources-only flag #1813 @bavarianbidi
  • [FEATURE] Allow allowlist filtering by wildcard key #1823 @rexagod
  • [FEATURE] Add ContainerResourceSourceType to hpa spec and target metrics #1831 @whitebear009
  • [FEATURE] Represent group, version and kind of a resource as labels #1850 @rexagod
  • [FEATURE] Sharding metrics per node via fieldSelector #1864 @CatherineF-dev
  • [FEATURE] Add experimental StatefulSet retention policy metrics #1876 @mattcary
  • [FEATURE] Allow labelFromKey field for all applicable metric types #1880 @rexagod
  • [FEATURE] Introduce Viper, allow hot-reload on config change #1827 @rexagod
  • [FEATURE] Introduce Cobra, allow configuration via environment variables #1834 @rexagod
  • [FEATURE] Add experimental kube_node_deletion_timestamp metric #1890 @rexagod
  • [FEATURE] Support autoscaling/v2 resources for HorizontalPodAutoscaler #1906 @JoaoBraveCoding
  • [FEATURE] Add IngressClass metrics #1905 @kaitoii11
  • [ENHANCEMENT] Import Kubernetes metrics stability framework #1844 @CatherineF-dev
  • [ENHANCEMENT] Promote kube_pod_container_status_waiting_reason and kube_deployment_status_replicas_ready to stable #1821 @CatherineF-dev
  • [ENHANCEMENT] Build with Kubernetes 1.25 and go 1.19 #1819 @mrueg
  • [BUGFIX] Handle singular labels in allowlist #1826 @rexagod
  • [BUGFIX] Do not expose ingress path metric when service is nil #1841 @evir35
  • [BUGFIX] Allow lease metrics to be exported across all namespaces #1845 @lantingchiang

New Contributors

Full Changelog: v2.6.0...v2.7.0

v2.6.0 / 2022-08-26

24 Aug 16:40
bc3b985
Compare
Choose a tag to compare

v2.6.0 / 2022-08-26

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0 / 2022-06-03

03 Jun 10:16
0567e1e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.2...v2.5.0

v2.4.2 / 2022-02-10

08 Mar 14:27
ef8bede
Compare
Choose a tag to compare

v2.4.2 / 2022-02-10

  • [BUGFIX] Publish images with with the correct tag

v2.4.1 / 2022-02-22

22 Feb 13:14
d3b2526
Compare
Choose a tag to compare

v2.4.1 / 2022-02-22

  • [FEATURE] Add ingressclass label to kube_ingress_info metric #1652 @adammw
  • [FEATURE] Extend KSM library to support custom resource metrics #1644 @Garrybest
  • [ENHANCEMENT] Use apiVersion v1 for PodDisruptionBudget and CronJob resources #1491 @bison
  • [ENHANCEMENT] Optimize slice allocations #1676 @sherifabdlnaby
  • [BUGFIX] Use plural form of resource name in allowlist for PodDisruptionBudget #1653 @arajkumar

v2.4.0 / 2022-02-22

22 Feb 10:24
5a3183e
Compare
Choose a tag to compare

v2.4.0 / 2022-02-22

  • [FEATURE] Add ingressclass label to kube_ingress_info metric #1652 @adammw
  • [FEATURE] Extend KSM library to support custom resource metrics #1644 @Garrybest
  • [ENHANCEMENT] Use apiVersion v1 for PodDisruptionBudget and CronJob resources #1491 @bison
  • [ENHANCEMENT] Optimize slice allocations #1676 @sherifabdlnaby
  • [BUGFIX] Use plural form of resource name in allowlist for PodDisruptionBudget #1653 @arajkumar

v2.3.0

09 Dec 15:37
b761b53
Compare
Choose a tag to compare

v2.3.0 / 2021-12-09

v2.2.4

09 Nov 18:19
35f564f
Compare
Choose a tag to compare

[BUGFIX] Fix BuilderInterface and BuildStoresFunc to allow using KSM as a library #1618 @ahmed-mez

v2.2.3 / 2021-10-11

11 Oct 14:40
38b0858
Compare
Choose a tag to compare

[BUGFIX] Fix the image build job. Reverts #1602