Interview Prep/Networking/Kubernetes Networking

Why would you add a service mesh and what is the networking cost?

IntermediateScenarioKubernetes Networking
Answer

Situation read → A mesh moves cross-cutting network features into sidecars or node proxies.

What I'd do →

  1. Gains: mTLS between services, retries and timeouts, traffic shifting, rich L7 metrics
  2. Cost: extra proxy hop and CPU or memory per pod, complexity, new failure modes
  3. Install Istio or Linkerd and enable injection: kubectl label ns prod istio-injection=enabled
  4. Verify mTLS with istioctl x describe pod <pod>
  5. Evaluate ambient or eBPF modes to reduce overhead

Why → A mesh trades compute and operational complexity for uniform security and observability.

Interview tip → Say you adopt a mesh for a specific problem, not by default.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking