Istio FAQs for DevOps Interviews: Cheat Sheet (2027)
50 Istio FAQs as a quick cheat sheet: istiod, sidecar vs ambient, VirtualService, mTLS, AuthorizationPolicy, ports, istioctl and 503 flags.
Istio FAQs in DevOps interviews come back to a short list: what the control plane and data plane do, how sidecar and ambient modes differ, which resources control traffic and security, which ports and commands to remember, and how to debug a 503. This cheat sheet gives 50 short answers you can revise in under an hour before an interview.
Use this page for fast revision. For full explanations, the keeper page 85+ Istio interview questions and answers covers each topic in depth. Beginners should read Istio interview questions for beginners, and engineers with production experience should continue with Istio interview questions for experienced engineers.
Key takeaways
- istiod is the control plane. Envoy proxies (sidecar mode) or ztunnel and waypoint proxies (ambient mode) form the data plane.
- Ambient mode reached general availability in Istio 1.24. Sidecar mode remains supported.
- VirtualService decides where traffic goes; DestinationRule decides how it is handled once it gets there.
- PeerAuthentication sets mTLS mode; AuthorizationPolicy decides who may call what.
istioctl proxy-status,istioctl proxy-configandistioctl analyzeanswer most debugging questions.- Envoy response flags such as UH, UF and NR explain most 503 errors.
One-table summary
| Need | Resource or command |
|---|---|
| Split traffic, retries, timeouts, fault injection | VirtualService (or Gateway API HTTPRoute) |
| Subsets, load balancing, connection pools, outlier detection, TLS to upstream | DestinationRule |
| Ingress or egress gateway listener | Gateway (Istio API or Kubernetes Gateway API) |
| Add an external service to the mesh registry | ServiceEntry |
| Limit what a sidecar sees | Sidecar |
| mTLS mode | PeerAuthentication |
| JWT validation | RequestAuthentication |
| Allow or deny requests | AuthorizationPolicy |
| Metrics, tracing and access log settings | Telemetry |
| Is config synced to proxies? | istioctl proxy-status |
| What config does a proxy have? | istioctl proxy-config |
| Find config mistakes | istioctl analyze |
Basics for freshers (1 to 15)
1. What is Istio?
An open source service mesh that adds traffic control, mTLS security and telemetry to services without changing application code. It is a CNCF graduated project.
2. What is a service mesh?
An infrastructure layer that handles service-to-service communication: routing, encryption, identity, retries and metrics.
3. What is istiod?
The single control plane binary. It handles service discovery, configuration distribution and certificate issuance.
4. What is Envoy?
A high-performance proxy written in C++. In sidecar mode Istio runs an Envoy next to every pod.
5. How does istiod talk to the proxies?
Over the xDS APIs, a gRPC protocol that pushes listeners, routes, clusters and endpoints to Envoy.
6. How do you enable sidecar injection?
Label the namespace, then restart pods so the mutating webhook adds the proxy.
kubectl label namespace shop istio-injection=enabled
kubectl rollout restart deployment -n shop
7. What is ambient mode?
A sidecar-less data plane. A per-node ztunnel handles L4 and mTLS; optional waypoint proxies handle L7 features.
8. How do you add a namespace to ambient mode?
Label it with istio.io/dataplane-mode=ambient. Pods do not need a restart.
9. What is a waypoint proxy?
An Envoy deployed per namespace or service account in ambient mode to apply L7 policy and routing.
10. What does a VirtualService do?
Defines routing rules for a host: match conditions, destinations, weights, retries, timeouts and fault injection.
11. What does a DestinationRule do?
Defines policies after routing: subsets by label, load balancing, connection pool limits, outlier detection and TLS settings.
12. What is a Gateway?
A resource that configures a proxy at the mesh edge to accept inbound or send outbound traffic on given ports and hosts.
13. What is a ServiceEntry?
An entry that adds an external host, such as a payments API, to Istio's registry so mesh policies apply to it.
14. What identity does a workload get?
A SPIFFE identity based on its Kubernetes service account, in the form spiffe://<trust-domain>/ns/<namespace>/sa/<service-account>.
15. Which tools show Istio telemetry?
Prometheus for metrics, Grafana for dashboards, Kiali for the mesh graph and Jaeger or Zipkin for traces.
Traffic and security for 2 to 5 years (16 to 32)
16. How do you run a 90/10 canary?
Define subsets v1 and v2 in a DestinationRule, then give them weights 90 and 10 in a VirtualService.
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
17. How do retries and timeouts interact?
The route timeout caps the total time, including all retries. Set per-try timeouts so retries fit inside it.
18. What is outlier detection?
Envoy ejects an endpoint from the load balancing pool after consecutive errors, then returns it after a backoff.
19. How do you inject faults?
Use the fault block in a VirtualService to add delays or aborts for a percentage of requests.
20. What are the PeerAuthentication modes?
UNSET, DISABLE, PERMISSIVE (accepts mTLS and plain text) and STRICT (mTLS only).
21. What is auto mTLS?
Client proxies send mTLS automatically when the server has a proxy, without a DestinationRule TLS setting.
22. How is AuthorizationPolicy evaluated?
CUSTOM policies first, then DENY, then ALLOW. If any ALLOW policy applies to a workload and none matches the request, it is denied.
23. How do you build default deny?
Apply an empty-spec AuthorizationPolicy in the namespace, then add ALLOW policies for each needed caller.
apiVersion: security.istio.io/v1
kind: AuthorizationPolicy
metadata:
name: deny-all
namespace: shop
spec: {}
24. How do you validate JWTs?
RequestAuthentication defines issuers and JWKS; an AuthorizationPolicy then requires a valid principal.
25. How do you control egress?
Set outbound traffic policy to REGISTRY_ONLY and add ServiceEntries for allowed hosts, optionally through an egress gateway.
26. What does the Sidecar resource fix?
It limits which hosts a proxy receives config for, reducing memory and push time in large meshes.
27. Which ports should you know?
15001 (outbound capture), 15006 (inbound capture), 15021 (health), 15090 (Envoy Prometheus stats), 15000 (Envoy admin, local only), 15012 (istiod xDS and CA), 15017 (webhook).
28. What does the Telemetry API control?
Metrics overrides, trace sampling and access logging, scoped to mesh, namespace or workload.
29. Istio APIs or Kubernetes Gateway API?
Istio supports both. The Gateway API is the Kubernetes standard and Istio recommends it for new setups; ambient waypoints use it.
30. How long do workload certificates last by default?
24 hours, rotated automatically by the proxy agent before expiry.
31. How do you check if a proxy is synced?
Run istioctl proxy-status; each proxy shows SYNCED, NOT SENT or STALE for each xDS type.
32. Why does an app fail on startup in the mesh?
It may make calls before the sidecar is ready. Set holdApplicationUntilProxyStarts, or use native sidecar containers on supported Kubernetes versions.
Senior quick answers (33 to 42)
33. How do you upgrade Istio safely?
Use revision-based canary upgrades: install the new control plane with a revision, move namespaces with istio.io/rev labels or revision tags, then remove the old one.
34. What does istioctl x precheck do?
It checks a cluster for problems before installing or upgrading Istio.
35. Sidecar or ambient?
Ambient lowers per-pod overhead and avoids restarts. Sidecar is mature and gives per-pod L7 control. Check feature support for your needs.
36. Which multicluster models exist?
Primary-remote and multi-primary, on a single network or across multiple networks with east-west gateways.
37. What do clusters need to trust each other?
A shared root of trust, usually intermediate CAs signed by the same root.
38. How do you move from PERMISSIVE to STRICT?
Confirm all clients have proxies using telemetry, switch namespace by namespace, and keep exceptions for health checks or legacy callers.
39. How do you scale istiod?
Run multiple replicas with a HorizontalPodAutoscaler and reduce push size with Sidecar resources and discovery selectors.
40. How do you run Istio with GitOps?
Store Istio resources and the install configuration in Git, sync them with Argo CD or Flux, and run istioctl analyze in CI.
41. When should you not use a mesh?
When you have few services, no mTLS or L7 needs, or no team to operate it.
42. What replaced Mixer?
Mixer was removed in Istio 1.8. Telemetry is generated in Envoy, and policy runs through Envoy filters and AuthorizationPolicy.
Scenario quick answers (43 to 50)
43. 503 with flag UH.
No healthy upstream. Check endpoints, readiness and outlier ejection.
44. 503 with flag NR.
No route matched. Check VirtualService hosts and matches with istioctl proxy-config routes.
45. 503 with flag UF or URX.
Upstream connection failure or retries exhausted. Check mTLS mode mismatches and the service's health.
46. A VirtualService has no effect.
Check the host name, gateway binding and namespace, then run istioctl analyze.
47. A legacy job breaks after STRICT mTLS.
It has no proxy. Inject one, or set a port-level or workload-level PERMISSIVE exception.
48. AuthorizationPolicy blocks expected traffic.
Check the principal, namespace and path in the rule against what the request carries, using Envoy RBAC debug logs.
49. Envoy memory grows in a large mesh.
Each proxy holds config for every service. Apply Sidecar resources to limit scope.
50. External API calls fail only inside the mesh.
Outbound policy may be REGISTRY_ONLY. Add a ServiceEntry, and check TLS origination settings.
Revision plan
- Day before: read the table above and questions 1 to 32 aloud.
- Morning of the interview: run through the scenario answers and the port list.
- For deeper practice, see how sidecar proxies manage service mesh traffic and service mesh tools compared.
- Istio sits on Kubernetes, so strong Kubernetes skills help. The CKA training course covers the cluster side (Kharadi, Pune classroom and live online).
FAQ
What are the most asked Istio interview questions?
Control plane versus data plane, VirtualService versus DestinationRule, mTLS modes, AuthorizationPolicy, canary routing, sidecar versus ambient and how to debug a 503.
Is Istio ambient mode production ready?
Yes. Ambient mode became generally available in Istio 1.24. Check the docs for which features are supported in ambient for your version.
What is the difference between VirtualService and DestinationRule?
VirtualService decides where requests go. DestinationRule decides how traffic to that destination is handled, such as subsets, load balancing and TLS.
Which Istio ports are asked in interviews?
15001 and 15006 for traffic capture, 15021 for health, 15090 for Envoy metrics, 15000 for the Envoy admin interface, and 15012 and 15017 on istiod.
How do I debug an Istio 503?
Read the Envoy response flag in the access log, then use istioctl proxy-config and istioctl analyze to check routes, clusters and endpoints.
How should I use this cheat sheet?
Use it for revision after studying the full Istio questions page. Each answer is short so you can check recall quickly.
Official references
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0