Display selector and endpoints in separate quick commands.
Section: Service Debug Playbook
Compare service and endpoints quickly
bash
bash
kubectl get svc <service> -n <namespace> -o yaml && kubectl get endpoints <service> -n <namespace> -o yamlLearn 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 Service Debug Playbook
Find pods selected by a service
Confirm that backend pods actually match the selector.
Check pod readiness gates for service endpoints
Non-ready pods usually do not appear as ready endpoints.