Skip to content

Warnings about accessing Endpoints instead of EndpointSlices on Kubernetes v1.33+ #279

@kevinastone

Description

@kevinastone

My logs for the localpv-provisioner pod has an endless stream of warnings about fetching Endpoints instead of EndpointSlice on my v1.33 k8s cluster:

https://kubernetes.io/blog/2025/04/24/endpoints-deprecation/

W0613 12:12:44.075828       1 warnings.go:70] v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1
 EndpointSlice

Is there a mechanism to at least silence these warnings as they fill up the disk and add some cpu overhead to constantly generate?

De-duplicating these warnings would also be preferred: https://kubernetes.io/blog/2020/09/03/warnings/#customize-client-handling

Metadata

Metadata

Assignees

Labels

kind/improvementCategorizes issue or PR as related to improving upon a current feature

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions