Skip to content

warnings about v1 Endpoints being deprecated #2857

@camaeel

Description

@camaeel

What happened:

kube-state-metrics running on cluster with 1.33 version logs:

Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

  1. Start kind cluster with recent version of kubernetes
  2. install kube-state-metrics
  3. observe logs

Anything else we need to know?:

Environment:

  • kube-state-metrics version: 2.18.0
  • Kubernetes version (use kubectl version): 1.33.7
  • Cloud provider or hardware configuration: "the-hard-way"
  • Other info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions