EndpointSlice

The object that lists the actual pod addresses behind a Service and whether each one is ready.

In more detail

The EndpointSlice controller keeps it in step with the Service selector and pod readiness, and kube-proxy reads it. An empty slice means the selector matches no pods or none are ready, which explains a timeout even when DNS works. An ExternalName Service has no slice because it only returns a name.

Example

kubectl get endpointslice -l kubernetes.io/service-name=web

Related terms

Taught in

References

Certification courses