Endpoint slice
An EndpointSlice is a Kubernetes API resource representing a subset of network endpoints for a Service and their associated metadata.
Google Anthos in Action
An EndpointSlice is a Kubernetes resource that contains a subset of network endpoints for a Service.
- How it is used
- Maps Kubernetes Services to matching application Pods so Services retain stable access as Pod IP addresses change.
- How deep it goes
- Explains selector matching, IP population, and controller updates, but does not detail EndpointSlice fields or scaling internals.
- Examples
- Uses an nginx-frontend selector, matching Pods, concrete Pod IP addresses, and a Kubernetes endpoints diagram.
- What you can do after
- Diagnose/debug with it by tracing Service selectors to matching Pods and checking endpoint updates after Pod restarts.
Kubernetes in Action, Second Edition
An EndpointSlice is a Kubernetes API resource that represents a scalable set of network endpoints for a Service and their associated metadata.
- How it is used
- Represents scalable Service endpoints and supplies readiness and topology information for traffic routing.
- How deep it goes
- Explains slicing limits, generated names, inspection fields, readiness, and topology hints without detailing controller implementation internals.
- Examples
- Uses kubectl listings, label selectors, describe output, readiness states, and zone-specific endpoint hints.
- What you can do after
- Diagnose Service endpoint membership and readiness with kubectl, then interpret topology hints and endpoint metadata.
Read how Kubernetes in Action, Second Edition explains endpoint slice →
Related concepts
- endpoints objectalternative to · A Kubernetes Endpoints object is an API resource listing the network addresses and ports of destinations eligible to receive traffic for a Service.
- ingress controllerused by · An ingress controller is a Kubernetes component that implements Ingress routing rules by directing external network traffic to services within a cluster.
- serviceused by · A Kubernetes Service is an API resource that provides stable network access and service discovery for a changing set of Pods or other specified destinations.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

