Migrate Endpoints from v1
Endpoints lists the addresses behind a Service. Kubernetes 1.33 deprecated it in favor of EndpointSlice. Endpoints doesn't support dual-stack clusters, and truncates long lists of endpoints. No removal is scheduled, so existing objects keep working, but code that reads Endpoints should move to discovery.k8s.io/v1 EndpointSlice.
What replaces it
- Replacement
discovery.k8s.io/v1 EndpointSlice- Available since
- 1.21
- Deprecated in
- 1.33
- Removed in
- No removal scheduled
Check your manifests in the checker, or read the official documentation.
Migration notes
- Not in the Deprecated API Migration Guide. Source: core/v1/lifecycle.go and core/v1/types.go, "Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice."
- The replacement is a different kind: migrate to EndpointSlice.