Skip to main content
InterviewHubPRO
Section Overview
Q30

Question 30 of 50

Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

60%
Terraform & IaC (50 Qs)•Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

Service Mesh Architecture: Istio vs. Linkerd (Mutual TLS, Traffic Shifting, Canary).

senior LevelMost AskedKubernetesSystem DesignMicroservices

In Simple Words: A Service Mesh injects a sidecar proxy (Envoy) next to every pod to handle service-to-service communication:

  • Zero-Trust mTLS: Automatically encrypts and verifies identities for all pod-to-pod traffic without application changes.
  • Traffic Shifting / Canary: Routes 95% of traffic to v1 and 5% to v2 based on HTTP headers or percentage weights.
  • Distributed Tracing: Injects tracing headers across service boundaries.