Interview › Istio & Service Mesh
How do you use istioctl proxy-config and proxy-status to debug Envoy?
Istio & Service Mesh · Intermediate level
Answer
I use istioctl proxy-status to check whether proxies are connected and synced with istiod. I use istioctl proxy-config to inspect the actual Envoy configuration for listeners, routes, clusters, endpoints, bootstrap, and secrets.
Technical explanation
proxy-status quickly shows stale or disconnected proxies, which points to control-plane or network issues.
proxy-config answers what the proxy is actually enforcing, not what I intended to configure.
For routing bugs, route and cluster output usually finds the problem faster than reading YAML alone.
Hands-on example
Commands:
$ istioctl proxy-status
$ istioctl proxy-config listeners deploy/frontend -n app
$ istioctl proxy-config routes deploy/frontend -n app
$ istioctl proxy-config clusters deploy/frontend -n app
$ istioctl proxy-config secrets deploy/frontend -n appIf a proxy is STALE, restart only after checking why it cannot receive or apply config.
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 does istioctl analyze do?
- What is the typical latency and resource overhead of the sidecar, and how do you minimise it?
- How do you debug mTLS handshake failures between two services?
- 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 enable distributed tracing, and what is required from the application?
- How do you exclude certain ports or IP ranges from sidecar interception?
- How do you handle non-HTTP (TCP) traffic in Istio?