Interview › Istio & Service Mesh
How do you troubleshoot a request that is failing only inside the mesh?
Istio & Service Mesh · Intermediate level
Answer
For a request failing only inside the mesh, I isolate whether the failure is routing, mTLS, authorization, endpoint discovery, gateway configuration, or application behavior. I compare direct pod behavior, Service behavior, and meshed behavior rather than assuming it is an application bug.
Technical explanation
Start with status: pod readiness, sidecar injection, proxy sync, and istioctl analyze.
Then inspect Envoy route, cluster, listener, endpoint, and secret config on the source and destination.
Finally inspect proxy access logs for response flags such as UF, NR, UO, RBAC, or TLS errors.
Hands-on example
Runbook:
$ istioctl analyze -n app
$ istioctl proxy-status
$ istioctl proxy-config route deploy/source -n app
$ istioctl proxy-config endpoints deploy/source -n app | grep destination
$ kubectl logs deploy/source -c istio-proxy -n app --tail=100Map the error code to route, endpoint, mTLS, or policy.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Istio & Service Mesh interview questions
- What is the typical latency and resource overhead of the sidecar, and how do you minimise it?
- How do you use istioctl proxy-config and proxy-status to debug Envoy?
- What does istioctl analyze do?
- How do you debug mTLS handshake failures between two services?
- How does Istio enable distributed tracing, and what is required from the application?
- What is a common cause of 503 errors in Istio, and how do you diagnose it?
- Why might traffic bypass the sidecar, and how do you verify injection?
- How does Istio integrate with Prometheus for metrics?