beta API version · group discovery.k8s.io
discovery.k8s.io/v1beta1
Removed in 1.25
No Kubernetes release since 1.25 serves apiVersion: discovery.k8s.io/v1beta1. Objects that were stored through it are still in etcd and readable through the replacement version; only manifests and clients that name this version break.
Kinds in discovery.k8s.io/v1beta1
| Kind | Introduced | Deprecated | Stops being served | Use instead |
|---|---|---|---|---|
| EndpointSlice | 1.16 | 1.21 | 1.25 | discovery.k8s.io/v1 |
Served in which releases
served served, deprecated exists but off by default not served · 1.16 to 1.37
Migrating off discovery.k8s.io/v1beta1
EndpointSlice removed in 1.25
Move to discovery.k8s.io/v1, served since 1.21. Existing objects stay readable through the new version.
What changes:
- use per Endpoint
nodeNamefield instead of deprecatedtopology["kubernetes.io/hostname"]field - use per Endpoint
zonefield instead of deprecatedtopology["topology.kubernetes.io/zone"]field topologyis replaced with thedeprecatedTopologyfield which is not writable in v1
- apiVersion: discovery.k8s.io/v1beta1
+ apiVersion: discovery.k8s.io/v1
kind: EndpointSliceFrom the Kubernetes Deprecated API Migration Guide, © The Kubernetes Authors, CC BY 4.0.
To convert files mechanically: kubectl convert -f old.yaml --output-version discovery.k8s.io/v1 (the kubectl-convert plugin, installed separately). Review defaults it fills in.
Other versions of discovery.k8s.io
Check your manifests for discovery.k8s.io/v1beta1 and other removed versions →