Kubernetes Services · Capability
Kubernetes Services Kubernetes EndpointSlices API
The Kubernetes EndpointSlices API tracks the IP addresses, ports, readiness, and topology information for Pods backing a Service. EndpointSlices replaced the older Endpoints API to improve scalability for large clusters with thousands of pods. A single Service may be backed by multiple EndpointSlices, and the EndpointSlice controller automatically manages their lifecycle in response to pod and Service changes.
What You Can Do
GET
Listnamespacedendpointslices
— Kubernetes Services List EndpointSlices in a namespace
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices
POST
Createnamespacedendpointslice
— Kubernetes Services Create an EndpointSlice
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices
GET
Getnamespacedendpointslice
— Kubernetes Services Get an EndpointSlice
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}
PUT
Replacenamespacedendpointslice
— Kubernetes Services Replace an EndpointSlice
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}
PATCH
Patchnamespacedendpointslice
— Kubernetes Services Patch an EndpointSlice
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}
DELETE
Deletenamespacedendpointslice
— Kubernetes Services Delete an EndpointSlice
/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}
GET
Listendpointslicesallnamespaces
— Kubernetes Services List EndpointSlices across all namespaces
/apis/discovery.k8s.io/v1/endpointslices
MCP Tools
listnamespacedendpointslices
Kubernetes Services List EndpointSlices in a namespace
read-only
idempotent
createnamespacedendpointslice
Kubernetes Services Create an EndpointSlice
getnamespacedendpointslice
Kubernetes Services Get an EndpointSlice
read-only
idempotent
replacenamespacedendpointslice
Kubernetes Services Replace an EndpointSlice
idempotent
patchnamespacedendpointslice
Kubernetes Services Patch an EndpointSlice
deletenamespacedendpointslice
Kubernetes Services Delete an EndpointSlice
idempotent
listendpointslicesallnamespaces
Kubernetes Services List EndpointSlices across all namespaces
read-only
idempotent