v2.18.0 / 2026-01-11
Note
- This release builds with Go
v1.25.6 - This release builds with
k8s.io/client-go:v0.34.3 - This release addresses a regression that caused a panic when new versions were added to existing
CustomResourceDefinitions. See the post-mortem analysis in #2838 for more details. endpointslicesare now part of the default resources exposed as metrics.endpointsis deprecated and needs to be manually activated through the--resourcesflag. See #2659 for more details.
Changelog
- [CHANGE] Replace endpoints with endpointslices as default resource by @mrueg in #2659
- [BUGFIX] Fix regression: React on WATCH updates for CRD informer by @rexagod in #2838
- [BUGFIX] Deduplicate tolerations when generating
kube_pod_tolerationsby @bhope in #2835 - [FEATURE] Allow filtering resources via URL parameters by @mrueg in #2844
- [FEATURE] Add
kube_job_status_readymetric by @nmn3m in #2771 - [FEATURE] Add
kube_deployment_ownermetric by @nmn3m in #2782 - [FEATURE] Add
kube_deployment_status_replicas_terminatingandkube_replicaset_status_terminating_replicasmetrics by @atiratree in #2708 - [FEATURE] Promote CronJob, HPA, and Pod metrics from BETA to STABLE by @nmn3m in #2798
- [FEATURE] Promote StatefulSet metrics to STABLE by @yasicar in #2783
- [FEATURE] Add info metric for client-go version by @fpetkovski in #2739
- [FEATURE] Warn on probe failing by @mickael-carl in #2808
- [ENHANCEMENT] Add
failedcondition tokube_certificatesigningrequest_conditionby @ksmiley in #2841 - [ENHANCEMENT] Reduce allocations when creating metric families by @fpetkovski in #2807
- [ENHANCEMENT] Bump to kubernetes 1.34 by @mrueg in #2785
- [ENHANCEMENT] Bump exporter-toolkit by @mrueg in #2770
- [ENHANCEMENT] Replace gojsontoyaml with gojq by @mrueg in #2660
- [ENHANCEMENT] Split benchmarks by @mrueg in #2759
Full Changelog
- build(deps): Bump sigs.k8s.io/yaml from 1.4.0 to 1.5.0 by @dependabot[bot] in #2694
- chore: Merge v2.16 back into
mainby @rexagod in #2697 - build(deps): Bump github.com/oklog/run from 1.1.0 to 1.2.0 by @dependabot[bot] in #2696
- feat(pod): Add new metric for pod unscheduled time tracking by @yshngg in #2699
- build(deps): Bump github.com/KimMachineGun/automemlimit from 0.7.3 to 0.7.4 by @dependabot[bot] in #2707
- chore: Add CatherineF-dev into SECURITY_CONTACTS by @CatherineF-dev in #2710
- build(deps): Bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0 by @dependabot[bot] in #2712
- build(deps): Bump github.com/prometheus/client_golang from 1.22.0 to 1.23.0 by @dependabot[bot] in #2717
- fix(customresourcestate): fix index out of range by @taraspos in #2716
- fix: Config file overrides apply to some fields but not other by @rashmichandrashekar in #2705
- chore: Build with k8s 1.33 by @mrueg in #2720
- fix: Fixed the format of Markdown files by @Rishab87 in #2714
- build(deps): Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #2731
- docs: Update metrics-store-performance-optimization.md by @ydFu in #2723
- feat: include reason label to
kube_deployment_status_conditionby @Rishab87 in #2719 - build(deps): Bump the k8s-dependencies group with 5 updates by @dependabot[bot] in #2737
- build(deps): Bump amannn/action-semantic-pull-request from 5.5.3 to 6.0.1 by @dependabot[bot] in #2738
- feat: Continue running kube-state-metrics when config file doesnt exist at startup by @rashmichandrashekar in #2703
- build(deps): Bump amannn/action-semantic-pull-request from 6.0.1 to 6.1.0 by @dependabot[bot] in #2741
- feat: Add HorizontalPodAutoscaler created and deletionTimestamp info into metrics by @IgorIgnatevBolt in #2675
- feat: introduce deletion timestamp metric for daemonset, statefulset, deployment, service and pdb by @IgorIgnatevBolt in #2678
- build(deps): Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #2745
- build(deps): Bump amannn/action-semantic-pull-request from 6.1.0 to 6.1.1 by @dependabot[bot] in #2746
- refactor: Reduce high cyclo complexity in endpoints slices by @onasser1 in #2740
- build(deps): Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #2755
- fix: Fix logic for plain text fallback format by @timonegk in #2730
- chore: Bump versions by @mrueg in #2758
- chore: Merge v2.17.0 back into main by @Rishab87 in #2761
- build(deps): Bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #2762
- build(deps): Bump github.com/spf13/cobra from 1.9.1 to 1.10.1 by @dependabot[bot] in #2764
- chore: Bump exporter-toolkit by @mrueg in #2770
- chore: Split benchmarks by @mrueg in #2759
- build(deps): Bump github.com/spf13/viper from 1.20.1 to 1.21.0 by @dependabot[bot] in #2777
- build(deps): Bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #2778
- feat: Update contributing.md to include local tests by @onasser1 in #2744
- feat: Promote many metrics from ALPHA -> STABLE by @nmn3m in #2749
- feat: Add kube_job_status_ready metric by @nmn3m in #2771
- build(deps): Bump kubernetes-sigs/release-actions from 0.3.1 to 0.4.0 by @dependabot[bot] in #2784
- chore: Bump to kubernetes 1.34 by @mrueg in #2785
- feat: add kube_deployment_owner metric by @nmn3m in #2782
- build(deps): Bump sigs.k8s.io/controller-runtime from 0.22.1 to 0.22.3 by @dependabot[bot] in #2795
- feat: add kube_deployment_status_replicas_terminating and kube_replicaset_status_terminating_replicas metrics by @atiratree in #2708
- feat: promote metrics from beta to stable by @nmn3m in #2798
- build(deps): Bump github.com/prometheus/common from 0.66.1 to 0.67.1 by @dependabot[bot] in #2796
- build(deps): Bump github.com/KimMachineGun/automemlimit from 0.7.4 to 0.7.5 by @dependabot[bot] in #2801
- build(deps): Bump github.com/prometheus/exporter-toolkit from 0.14.1 to 0.15.0 by @dependabot[bot] in #2800
- test: fixing issue realted to test indentation by @nmn3m in #2786
- feat: Added bash script for updating
data.yamlby @Rishab87 in #2769 - build(deps): Bump github.com/prometheus/common from 0.67.1 to 0.67.2 by @dependabot[bot] in #2804
- feat: Add info metric for client-go version by @fpetkovski in #2739
- build(deps): Bump sigs.k8s.io/controller-runtime from 0.22.3 to 0.22.4 by @dependabot[bot] in #2806
- build(deps): Bump the k8s-dependencies group with 5 updates by @dependabot[bot] in #2811
- build(deps): Bump github.com/prometheus/common from 0.67.2 to 0.67.4 by @dependabot[bot] in #2813
- build(deps): Bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #2814
- build(deps): Bump actions/setup-go from 6.0.0 to 6.1.0 by @dependabot[bot] in #2815
- feat: warn on probe failing by @mickael-carl in #2808
- feat: promote StatefulSet metrics to STABLE and enhance docs by @yasicar in #2783
- feat: Replace endpoints with endpointslices as default resource by @mrueg in #2659
- perf: Reduce allocations when creating metric families by @fpetkovski in #2807
- build(deps): Bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by @dependabot[bot] in #2827
- build(deps): Bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #2826
- chore: Replace gojsontoyaml with gojq by @mrueg in #2660
- docs: Update PULL_REQUEST_TEMPLATE.md by @CatherineF-dev in #2832
- build(deps): Bump github.com/prometheus/exporter-toolkit from 0.15.0 to 0.15.1 by @dependabot[bot] in #2837
- fix: regression: React on WATCH updates for CRD informer by @rexagod in #2838
- docs: add StatefulSet PromQL queries by @yasicar in #2821
- fix: deduplicate tolerations when generating kube_pod_tolerations by @bhope in #2835
- feat: Added goreleaser config for generating release notes and pre release creation by @Rishab87 in #2788
- build(deps): Bump github.com/prometheus/common from 0.67.4 to 0.67.5 by @dependabot[bot] in #2839
- build(deps): Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #2842
- build(deps): Bump actions/checkout from 4 to 6 by @dependabot[bot] in #2843
- feat: add failed condition to
kube_certificatesigningrequest_conditionby @ksmiley in #2841 - feat: Resource query via parameter by @mrueg in #2844
- chore: Cut v2.18.0 by @rexagod in #2840
New Contributors
- @yshngg made their first contribution in #2699
- @taraspos made their first contribution in #2716
- @rashmichandrashekar made their first contribution in #2705
- @ydFu made their first contribution in #2723
- @IgorIgnatevBolt made their first contribution in #2675
- @onasser1 made their first contribution in #2740
- @timonegk made their first contribution in #2730
- @nmn3m made their first contribution in #2749
- @atiratree made their first contribution in #2708
- @mickael-carl made their first contribution in #2808
- @yasicar made their first contribution in #2783
- @bhope made their first contribution in #2835
- @ksmiley made their first contribution in #2841
Full Changelog: v2.16.0...v2.18.0