Interview › Istio & Service Mesh
What is the difference between PERMISSIVE and STRICT mTLS mode?
Istio & Service Mesh · Basic level
Answer
PERMISSIVE mTLS accepts both plaintext and mTLS traffic, while STRICT requires mTLS. PERMISSIVE is useful during migration; STRICT is the target for strong zero-trust enforcement inside the mesh.
Technical explanation
PERMISSIVE lets meshed and non-meshed workloads communicate while sidecars or ambient enrollment are rolled out.
STRICT prevents plaintext clients from connecting to protected workloads.
A namespace should move to STRICT only after all expected callers are in the mesh and telemetry shows mTLS is being used.
Hands-on example
Migration check:
$ istioctl authn tls-check deploy/backend -n app
$ kubectl get pods -n app --show-labels
$ kubectl get pods -n app -o custom-columns=NAME:.metadata.name,CONTAINERS:.spec.containers[*].nameIf any required client lacks istio-proxy or ambient enrollment, do not switch that path to STRICT yet.
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
- What is mutual TLS (mTLS), and how does Istio provide it automatically?
- What is outlier detection, and how does it eject unhealthy hosts?
- What is a PeerAuthentication policy?
- What is a RequestAuthentication policy, and how does it validate JWTs?
- What are timeouts in Istio, and how do they interact with retries?
- What is an AuthorizationPolicy, and how do you enforce service-to-service access control?
- How do you inject delays or aborts to test resilience with Istio?
- What is fault injection in Istio, and why would you use it?