Skip to main content

rawops.dev

P1

Service Unreachable — Interactive Diagnostic

Diagnose why a Kubernetes service can't be reached. Walks through pod connectivity, service selectors, endpoints, network policies, and ingress configuration.

Interactive Diagnostic~10 min
Step 1 of path
Run Command

Identify the service and its endpoints

First, check if the service has any endpoints (backing pods) registered.

kubectl get svc <service-name> -o wide
kubectl get endpoints <service-name>
Expected: Service details and a list of endpoint IPs. If ENDPOINTS shows '<none>', the service has no backing pods.