Kubernetes Service Maps: Find the Dependency Behind an Outage
Follow a failing edge in a Kubernetes service map, verify destination readiness, and understand what eBPF can and cannot tell you.
When a frontend starts timing out, the frontend may be healthy enough to serve the page but unable to reach a service it depends on. A service map narrows the search by showing which workloads actually exchanged traffic before or during the failure. Start at the affected workload and follow one failing connection at a time.
Follow the connection in the direction of the call
Pick the window when errors began and find the frontend. Identify the destination and port of a failing connection. Is only the frontend affected, or do other workloads calling the same destination also fail? Multiple callers failing together move the destination and the shared network path higher on the list. One caller failing while others succeed points to something more specific, such as its own configuration or access path. Either way, the map tells you what to check next, not what to restart. In the cover, a WatchLog product example, the failing connection is from the load generator to Traefik.
Verify the destination has ready instances
In a separate WatchLog product example, the frontend can no longer reach the API after the API scales to zero. A failing connection doesn't establish that by itself. Compare the first failures with the destination’s desired and ready replica counts, EndpointSlices, and rollout or scaling events. If it has zero ready endpoints, distinguish intentional scale-down from pods that exist but are not ready. If ready endpoints remain, check the Service’s ports and verify whether the destination sees a request at the same time.
For a Kubernetes Service named api and a Deployment of the same name in shop, these read-only checks show the two sides:
kubectl -n shop get endpointslice -l kubernetes.io/service-name=api -o yaml
kubectl -n shop describe deployment apiIn the EndpointSlices, check endpoint readiness, not just whether an object exists. If the destination is a StatefulSet or another workload, inspect that resource instead of the example Deployment.
Know what the edge can prove
- Plain HTTP/1.x: With supported collection enabled, WatchLog can show status counts and response timing. Those signals don’t identify the handler or request body.
- HTTPS: WatchLog doesn’t decrypt it. An established connection is not proof of a successful HTTP response; use application or proxy logs for that.
- Absent edge: Check the chosen time window and eBPF coverage on the caller’s node. On unsupported Kubernetes nodes, the map can show configured Service topology instead of live flows. A topology edge is not proof of traffic, and a missing observed edge is not proof the dependency doesn’t exist.
Verify the user-facing symptom recovered
Go back to the original caller after the fix. Check that the destination has ready endpoints, that traffic returned to the failing edge, and that the user-facing request succeeds again. If the edge recovers first but the request still fails, follow the next dependency or switch to logs for the individual request.
Explore WatchLog’s live demo to get familiar with the service map. For your own cluster, see the installation guide, the eBPF requirements, and the network data WatchLog collects.