Istio Interview Questions for Beginners (2027)

48 Istio interview questions for beginners: istiod, Envoy sidecars, ambient mode, VirtualService, DestinationRule, mTLS and AuthorizationPolicy explained.

Sep 26, 2025 - 14:13
Nov 5, 2026 - 20:29
 0  126
TOPICInterview Q & APractical guide
Istio Interview Questions for Beginners (2027)

Istio interviews for freshers and junior engineers start with definitions: what a service mesh is, how istiod and Envoy proxies split the control and data plane, how sidecar and ambient mode differ, and what VirtualService, DestinationRule, Gateway, PeerAuthentication and AuthorizationPolicy do. This page has 48 numbered questions weighted toward basics (24 for freshers), followed by practical, senior and scenario questions.

If you already know these basics, the broader 85+ Istio interview questions page goes deeper at every level. Background reading on our blog: how sidecar proxies manage traffic and service discovery vs service mesh.

Key takeaways

  • istiod is the single control plane; Pilot, Citadel and Galley were merged into it in Istio 1.5.
  • Sidecar mode puts an Envoy in every pod; ambient mode uses ztunnel per node and optional waypoints, and has been GA since Istio 1.24.
  • VirtualService decides where a request goes; DestinationRule decides how traffic to that destination behaves.
  • PeerAuthentication defaults to PERMISSIVE; move to STRICT one namespace at a time.
  • RequestAuthentication alone lets tokenless requests through; pair it with an AuthorizationPolicy.
  • istioctl analyze, proxy-status and proxy-config are the first debugging tools to mention.

Freshers: Istio basics and definitions (questions 1 to 24)

1. What is Istio?

Istio is an open source service mesh for Kubernetes and other workloads. It adds traffic management, mutual TLS, access policies and telemetry to service-to-service traffic without changing application code. It is a graduated CNCF project.

2. What is a service mesh?

An infrastructure layer that handles communication between services: routing, retries, encryption, identity and metrics. The application makes plain calls and proxies in the mesh do the rest. Our post on service mesh architecture explains the idea in more depth.

3. What is the difference between the data plane and the control plane?

The data plane is the set of proxies that carry traffic (Envoy sidecars, or ztunnel and waypoints in ambient mode). The control plane, istiod, turns your configuration into proxy configuration and pushes it to them, and issues workload certificates.

4. What is istiod?

The single control plane binary. Since Istio 1.5 it combines what used to be separate components: Pilot (configuration and service discovery), Citadel (certificates) and Galley (configuration validation). Older answers that list them as separate deployments are out of date.

5. What is Envoy and why does Istio use it?

Envoy is a high-performance L4 and L7 proxy, also a CNCF graduated project. Istio uses it for sidecars, gateways and waypoints because it supports dynamic configuration over the xDS APIs, rich load balancing, retries and detailed metrics.

6. What is a sidecar proxy?

An Envoy container added to each application pod that intercepts the pod's inbound and outbound traffic. The app talks to localhost networking as usual and the sidecar applies mesh policy. See why sidecar containers are used.

7. How does a pod get a sidecar?

Automatic injection through a mutating admission webhook. Label the namespace with istio-injection=enabled, or istio.io/rev=<revision> for revision-based installs, then restart or create pods. Existing pods do not get a sidecar until they are recreated.

8. What is ambient mode?

A sidecar-less data plane. A per-node ztunnel handles L4 traffic and mTLS, and optional waypoint proxies handle L7 features for a namespace or service. Ambient mode became generally available in Istio 1.24 (November 2024). Enrol a namespace with the label istio.io/dataplane-mode=ambient.

9. Sidecar or ambient: what is the difference for a beginner?

Sidecar modeAmbient mode
Proxy locationOne Envoy per podztunnel per node, waypoints when L7 is needed
Pod restart to joinYesNo
L7 featuresAlways availableNeed a waypoint
Resource useHigher, per podLower for L4-only traffic

10. How do you install Istio for practice?

istioctl install --set profile=demo -y
kubectl label namespace default istio-injection=enabled
istioctl analyze

The demo profile turns on extra features for learning; the default profile is meant for production starts. Helm charts are the other supported install method.

11. What are Istio configuration profiles?

Preset install settings such as default, demo, minimal (control plane only) and ambient. You start from a profile and override values with an IstioOperator file or --set flags.

12. What is a VirtualService?

A resource that defines how requests to a host are routed: match on path, headers or other attributes, then send to destinations with weights, retries, timeouts or fault injection. It works on traffic after a destination host is chosen.

13. What is a DestinationRule?

A resource that applies policies after routing: subsets (for example versions v1 and v2 by pod label), load balancing, connection pool limits, outlier detection and TLS settings toward the destination.

14. What is a Gateway in Istio?

A load balancer at the mesh edge for ingress or egress traffic. The Istio Gateway resource configures ports and TLS on the ingress gateway Envoy, and a VirtualService binds routes to it. Istio also supports the Kubernetes Gateway API, which the project recommends for new setups.

15. What is a ServiceEntry?

It adds an external service, such as an outside API or database, to Istio's service registry so the mesh can apply routing, TLS and telemetry to calls to it. Combined with outbound traffic policy REGISTRY_ONLY, it controls which external hosts pods can reach.

16. What is mutual TLS in Istio?

Both sides of a connection present certificates and verify each other, so traffic is encrypted and each service knows the caller's identity. Istio issues and rotates these certificates automatically through istiod.

17. What are the PeerAuthentication modes?

PERMISSIVE accepts both mTLS and plain text, which is the default to ease migration. STRICT accepts only mTLS. DISABLE turns mTLS off. A PeerAuthentication in the root namespace (usually istio-system) sets the mesh-wide default.

18. What identity does a workload get?

A SPIFFE identity based on its Kubernetes service account, in the form spiffe://cluster.local/ns/<namespace>/sa/<service-account>. Authorization policies refer to these principals.

19. What is an AuthorizationPolicy?

A resource that allows or denies requests to workloads based on source identity, namespace, IP, HTTP method, path and JWT claims. Actions are ALLOW, DENY, AUDIT and CUSTOM. If any ALLOW policy applies to a workload, requests that match none of them are denied.

20. What is RequestAuthentication?

It tells Istio how to validate JSON Web Tokens on incoming requests: issuer and JWKS location. It rejects invalid tokens but allows requests with no token, so pair it with an AuthorizationPolicy that requires a principal.

21. What telemetry does Istio provide out of the box?

Metrics in Prometheus format (request count, duration, size, TCP bytes), distributed tracing spans that need header propagation in the app, and access logs. The Telemetry API configures what is collected.

22. What are Kiali, Prometheus, Grafana and Jaeger used for with Istio?

Prometheus stores mesh metrics, Grafana shows dashboards, Jaeger or another tracing backend shows request traces, and Kiali draws the service graph and validates Istio configuration. Istio ships sample addon manifests for each, meant for demos, not production.

23. Why must applications propagate trace headers?

The sidecar creates spans for each hop but cannot link an incoming request to the outgoing calls the app makes. The application must copy headers such as traceparent or the B3 headers from inbound to outbound requests.

24. Which istioctl commands should a beginner know?

istioctl install, istioctl analyze (finds configuration problems), istioctl proxy-status (sync state of proxies), istioctl proxy-config (routes, clusters and listeners in a proxy) and istioctl version.

2 to 5 years: traffic and security in practice (questions 25 to 36)

25. How do you do a canary release with Istio?

apiVersion: networking.istio.io/v1
kind: DestinationRule
metadata:
  name: reviews
spec:
  host: reviews
  subsets:
    - name: v1
      labels:
        version: v1
    - name: v2
      labels:
        version: v2
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  name: reviews
spec:
  hosts:
    - reviews
  http:
    - route:
        - destination:
            host: reviews
            subset: v1
          weight: 90
        - destination:
            host: reviews
            subset: v2
          weight: 10

Shift the weights in steps while watching error rate and latency. Tools such as Argo Rollouts or Flagger can automate the steps.

26. How do you set retries and timeouts?

In the VirtualService HTTP route: timeout: 2s and retries with attempts, perTryTimeout and retryOn conditions. Keep retries modest and make sure the operation is safe to repeat.

27. How does circuit breaking work in Istio?

In a DestinationRule, connectionPool limits connections and pending requests, and outlierDetection ejects hosts that return consecutive errors for a period. Together they stop one bad instance or overload from spreading.

28. What is fault injection used for?

Testing resilience by adding delays or aborts with HTTP status codes to a percentage of requests through a VirtualService. Use it in test environments to check timeouts and fallbacks.

29. How do you move a namespace to STRICT mTLS safely?

Start in PERMISSIVE, confirm in Kiali or metrics that all traffic to the workloads is already mTLS, check clients outside the mesh, then apply STRICT to one namespace at a time.

30. How do you control egress traffic?

Set outboundTrafficPolicy.mode to REGISTRY_ONLY, add ServiceEntries for allowed external hosts, and route through an egress gateway when you need a fixed exit point for auditing. Note that a sidecar alone is not a security boundary against a compromised pod.

31. What does the Sidecar resource do?

It limits which services a sidecar's configuration includes and which ports it captures. In large meshes this cuts memory use and push times because each proxy no longer receives configuration for every service.

32. Which ports does an Istio sidecar use?

PortPurpose
15001Envoy outbound traffic
15006Envoy inbound traffic
15020Merged Prometheus telemetry from agent, Envoy and app
15021Health checks
15090Envoy Prometheus telemetry
15000Envoy admin (localhost only)

istiod uses 15010 and 15012 for xDS and 15017 for the webhook. The full list is on the Istio ports page.

33. How do you upgrade Istio with less risk?

Use a canary (revision-based) upgrade: install the new control plane under a revision, move namespaces to it by changing the istio.io/rev label, restart workloads, and remove the old revision when done. Check the supported Kubernetes versions for the target release first.

34. How do you debug a 503 between two services?

Run istioctl analyze, check istioctl proxy-config cluster and endpoints for the destination, look at the Envoy access log response flags such as UH (no healthy upstream) or UF (connection failure), and check for a DestinationRule TLS mismatch.

35. What is the Kubernetes Gateway API and how does Istio use it?

A Kubernetes SIG project defining Gateway and HTTPRoute resources for traffic routing. Istio implements it for ingress and for mesh routing, and uses it to deploy waypoint proxies in ambient mode.

36. What is an EnvoyFilter and why avoid it?

It patches the generated Envoy configuration directly. It is powerful but fragile across Istio and Envoy upgrades. Prefer the Telemetry, WasmPlugin or standard APIs when they cover the need.

Senior: design choices (questions 37 to 42)

37. When is a service mesh not worth it?

With a few services, no mTLS requirement and simple routing, the operational cost of a mesh outweighs the gain. Start with Kubernetes Services, NetworkPolicies and an ingress controller, and add a mesh when traffic policy or zero trust needs grow. Our service mesh comparison covers alternatives.

38. How would you decide between sidecar and ambient mode for a new cluster?

Ambient for lower resource use and no pod restarts, especially when most services need only mTLS and L4 policy. Sidecars where you need features or integrations not yet available in ambient, or where per-pod proxy isolation is required. Check the feature status page for the release you run.

39. What does multi-cluster Istio involve?

Choose a model: primary-remote or multi-primary, on the same or different networks. Share a common root of trust for certificates, enable endpoint discovery between clusters and use east-west gateways when networks differ.

40. How do you replace the self-signed root CA?

Plug in your own intermediate CA certificates as the cacerts secret before installing, or integrate an external CA such as cert-manager through istio-csr. Production meshes should not rely on the default self-signed root.

41. How do you keep Istio resource usage under control?

Use Sidecar resources or discovery selectors to limit configuration scope, set proxy resource requests, consider ambient mode, and watch istiod push times and proxy memory.

42. How do you introduce Istio to a team that has never used it?

Start with one namespace, observability first in permissive mode, then mTLS, then traffic features. Write runbooks for common errors and train on istioctl debugging before production rollout.

Scenario questions (questions 43 to 48)

43. A pod has no sidecar after you labelled the namespace. Why?

The pod was created before the label, the label is wrong for a revision-based install, or the pod has the sidecar.istio.io/inject: "false" annotation. Restart the deployment and confirm with kubectl get pod -o jsonpath that istio-proxy is present.

44. Traffic split 90/10 but all requests go to v1. What do you check?

That the DestinationRule subsets match the pod labels, the VirtualService host matches how clients call the service, and that clients go through the mesh. Calls from outside the mesh or by pod IP bypass the routing.

45. After enabling STRICT mTLS, a legacy client outside the mesh fails. What do you do?

Set PERMISSIVE for that workload or port with a workload-level PeerAuthentication while the client is migrated, or route it through an ingress gateway that terminates TLS.

46. Kiali shows a service with no traffic although users use it. Why?

Prometheus may not scrape the proxies, the workload may have no sidecar, or traffic arrives by a path the mesh does not see. Check sidecar presence and Prometheus targets first.

47. JWT validation passes for requests with no token. Is Istio broken?

No. RequestAuthentication only rejects invalid tokens. Add an AuthorizationPolicy that requires requestPrincipals: ["*"] to reject requests without one.

48. An external API call fails with 502 after setting REGISTRY_ONLY. What is missing?

A ServiceEntry for that host with the correct port and protocol. Add it, then confirm with istioctl proxy-config cluster. More advanced cases are in the 85+ Istio interview questions.

A beginner study plan

Install Istio with the demo profile on a local cluster, deploy the Bookinfo sample, run a 90/10 canary, apply STRICT mTLS to one namespace and write an AuthorizationPolicy. Then repeat in ambient mode and compare. Kubernetes skills come first; the CKA training in Kharadi, Pune or live online covers the cluster side.

Frequently asked questions

Is this page only for freshers?

It is weighted to beginners: 24 of the 48 questions are basics. The later sections cover practical, senior and scenario questions so you can see where interviews go next.

What is the difference between istiod and Envoy?

istiod is the control plane that builds configuration and issues certificates. Envoy is the proxy in the data plane that carries the traffic.

Is Istio ambient mode production ready?

Ambient mode reached general availability in Istio 1.24 in November 2024. Check the feature status page for individual features.

What is the default mTLS mode in Istio?

PERMISSIVE, which accepts both mTLS and plain text so workloads can migrate gradually.

Do I need to know Envoy to pass an Istio interview?

You should know what Envoy does and how to read istioctl proxy-config output. Deep Envoy configuration is rarely asked of beginners.

Should I learn Istio Gateway or Kubernetes Gateway API?

Learn both. Many existing setups use the Istio Gateway resource, while the project recommends the Kubernetes Gateway API for new work.

Which ports should I remember?

15001 and 15006 for sidecar outbound and inbound traffic, 15021 for health checks and 15090 for Envoy metrics.

Official references

Interested in learning more?Get a callback from our training advisors.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
Mridul I am a passionate technology enthusiast with a strong focus on DevOps, Cloud Computing, and Cybersecurity. Through my blogs at DevOps Training Institute, I aim to simplify complex concepts and share practical insights for learners and professionals. My goal is to empower readers with knowledge, hands-on tips, and industry best practices to stay ahead in the ever-evolving world of DevOps.