Releases: kubernetes/kube-state-metrics
v2.8.1 / 2023-02-22
v2.8.1 / 2023-02-22
- [BUGFIX] Don't crash on non-existent paths @rexagod #1998
- [BUGFIX] Fix public Builder compatibility with BuilderInterface @clamoriniere #1994
Full Changelog: v2.8.0...v2.8.1
v2.8.0 / 2023-02-10
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
- @pawcykca made their first contribution in #1923
- @grzesuav made their first contribution in #1944
- @frezes made their first contribution in #1932
- @ryanrolds made their first contribution in #1938
- @bjorand made their first contribution in #1956
- @jabdoa2 made their first contribution in #1963
Full Changelog: v2.7.0...v2.8.0
v2.7.0 / 2022-11-25
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
- @CatherineF-dev made their first contribution in #1821
- @sashashura made their first contribution in #1822
- @ssabo made their first contribution in #1752
- @qdupuy made their first contribution in #1838
- @evir35 made their first contribution in #1841
- @lantingchiang made their first contribution in #1845
- @rexagod made their first contribution in #1850
- @timp87 made their first contribution in #1870
- @logicalhan made their first contribution in #1866
- @mattcary made their first contribution in #1876
- @exitflynn made their first contribution in #1894
- @JoaoBraveCoding made their first contribution in #1906
Full Changelog: v2.6.0...v2.7.0
v2.6.0 / 2022-08-26
v2.6.0 / 2022-08-26
- [FEATURE] Add local storage labels to kube_persistentvolume_info #1814 @nabokihms
- [FEATURE] Add support for StateSet and Info metrics for Custom-Resource State #1777 @chrischdi
- [FEATURE] Add support for Rolebinding resource metrics #1799 @kaitoii11
- [FEATURE] Add new kube_horizontalpodautoscaler_status_target_metric #1725 @tanguyfalconnet
- [FEATURE] Add support for Role and Clusterrole resource metrics #1759 @kaitoii11
- [FEATURE] Add support for the ServiceAccount resource metrics #1773 @Serializator
- [FEATURE] Add metric for pod tolerations #1769 @Serializator
- [FEATURE] Add new kube_endpoint_address metric #1761 @bavarianbidi
- [FEATURE] Support reading the timestamp fields of custom resources #1766 @dontan001
- [ENHANCEMENT] Migrate to structured logging #1807 @dmpe
- [ENHANCEMENT] Switch registry vanity domain from k8s.gcr.io to registry.k8s.io #1750 @mrueg
- [ENHANCEMENT] Graduate new endpoint metrics to stable #1812 @bavarianbidi
- [BUGFIX] Fix label name for kube_pod_nodeselector #1756 @yosshi825
- [BUGFIX] Fix Custom-Resource State Metrics not to contain underscores #1754 @chrischdi
- [BUGFIX] Fix kube_node_status_allocatable unit doc #1760 @jumbosushi
New Contributors
- @yosshi825 made their first contribution in #1756
- @jumbosushi made their first contribution in #1760
- @yangjunmyfm192085 made their first contribution in #1764
- @dontan001 made their first contribution in #1766
- @kaitoii11 made their first contribution in #1759
- @ikarlashov made their first contribution in #1784
- @tanguyfalconnet made their first contribution in #1725
- @dmpe made their first contribution in #1807
Full Changelog: v2.5.0...v2.6.0
v2.5.0 / 2022-06-03
What's Changed
- [FEATURE] Add experimental Custom-Resource State Metrics #1710 @iamnoah
- [FEATURE] Add kube_pod_ips metric #1740 @bjschafer
- [FEATURE] Add kube_pod_nodeselector metric #1675 @geojaz
- [FEATURE] Add CSIPersistentVolumeSource to persistent volume metric #1727 @luke-sprig
- [FEATURE] Add kube_cronjob_status_last_successful_time metric #1732 @splitice
- [FEATURE] Add kube_persistentvolumeclaim_created metric #1741 @aidan-ogorman-dev
- [ENHANCEMENT] Build with Go 1.18 #1726, #1745 @mrueg
- [ENHANCEMENT] Bump kubernetes 1.24 and other go dependencies #1726, #1743 @mrueg
- [ENHANCEMENT] Update x/crypto to mitigate CVE-2022-27191 #1721 @pgvishnuram
- [BUGFIX] Assert that newlines in comma separated arguments are ignored #1706 @sthaha
- [BUGFIX] Fix potential panic in pod store #1723 @mfojtik
- [BUGFIX] Fix potential panic in internal store #1731 @jan--f
- [BUGFIX] Properly initialize KSM Server test #1699 @fpetkovski
New Contributors
- @sthaha made their first contribution in #1706
- @pgvishnuram made their first contribution in #1721
- @mfojtik made their first contribution in #1723
- @jan--f made their first contribution in #1731
- @luke-sprig made their first contribution in #1727
- @splitice made their first contribution in #1732
- @honpey made their first contribution in #1734
- @aidan-ogorman-dev made their first contribution in #1741
- @bjschafer made their first contribution in #1740
- @iamnoah made their first contribution in #1710
Full Changelog: v2.4.2...v2.5.0
v2.4.2 / 2022-02-10
v2.4.2 / 2022-02-10
- [BUGFIX] Publish images with with the correct tag
v2.4.1 / 2022-02-22
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
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
v2.3.0 / 2021-12-09
- [FEATURE] Add a
--namespace-denylist
command line flag to exclude metrics from certain namespaces #1596 #1595 @mallow111 - [FEATURE] Add
kube_*_labels
andkube_*_annotations
metrics for Pod Disruption Budgets #1623 @arajkumar - [FEATURE] Add a Kustomization file for deploying KSM in authosharding mode #1603 @karancode
- [FEATURE] Expose a metric for the number of ports in endpoint objects #1571 @bavarianbidi
- [FEATURE] Add a command line flag for opt-in metrics #1643 @Serializator
- [FEATURE] Add
kube_horizontalpodautoscaler_info
metric #1648 @Serializator - [ENHANCEMENT] Update Go to 1.17.4 #1649 @fpetkovski
- [ENHANCEMENT] Update Kubernetes to 1.23 #1649 @fpetkovski
- [BUGFIX] Report the correct architecture for arm64 images #1629 @Serializator
v2.2.4
[BUGFIX] Fix BuilderInterface and BuildStoresFunc to allow using KSM as a library #1618 @ahmed-mez