Verify which backends a Service resolves to.

Section: Services and Endpoints

List endpoints

bash
bash
kubectl get endpoints -A

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Services and Endpoints
List services
Check Service types, ports, and cluster IPs.
OpenIn sheetbashsame section
Describe a service
Inspect selectors, target ports, and events.
OpenIn sheetbashsame section
List EndpointSlices
Inspect endpoint slice distribution for a Service.
OpenIn sheetbashsame section
Show Service selector
Verify that pod labels match the Service selector.
OpenIn sheetbashsame section
Describe an EndpointSlice
Inspect ready addresses and ports at slice level.
OpenIn sheetbashsame section
Compare service and endpoints quickly
Display selector and endpoints in separate quick commands.
OpenIn sheetbash2 tag match