Interview › Istio & Service Mesh
How do you capacity-plan the ingress gateway?
Istio & Service Mesh · Advanced level
Answer
I capacity-plan the ingress gateway like a shared production load balancer. I estimate peak RPS, concurrent connections, TLS handshakes, payload size, response size, header size, route complexity, retry behavior, CPU, memory, network throughput, and availability requirements.
Technical explanation
TLS termination and high-cardinality telemetry can be CPU expensive.
Gateway autoscaling should use meaningful signals such as CPU, request rate, active connections, and latency where available.
The gateway deployment needs pod anti-affinity, PDBs, readiness, load-balancer health checks, and safe rollout strategy.
Hands-on example
Capacity test:
$ fortio load -qps 5000 -c 200 -t 30m https://app.example.com/Watch ingressgateway CPU, memory, downstream connections, p99 latency, 5xx, TLS errors, and node network.
Set HPA and resource requests based on tested headroom, not averages from quiet periods.
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
- How do you handle gradual migration of services into mTLS STRICT mode?
- How do you test an AuthorizationPolicy before enforcing it (dry-run)?
- How do you ensure the sidecar is ready before the app starts taking traffic?
- How do you drain connections gracefully during a rolling update with Istio?
- How do you observe and reduce the error rate of a specific service via the mesh?
- What is the role of the holdApplicationUntilProxyStarts setting?
- What is the difference between L4 and L7 policy enforcement in the mesh?
- How does Istio support traffic mirroring (shadowing), and why is it useful?