Interview Istio & Service Mesh

How do you inject delays or aborts to test resilience with Istio?

Istio & Service Mesh · Basic level

Answer

Delays and aborts are configured under the fault section of a VirtualService HTTP route. A delay pauses matched requests before forwarding; an abort returns a configured error directly from the proxy.

Technical explanation

Use percentage fields to limit blast radius.

Use header matching so only test traffic is affected.

Always validate that retries, timeouts, and application fallback behavior interact as expected.

Hands-on example

Delay example:

fault:

delay:

percentage:

value: 10

fixedDelay: 2s

Abort example:

fault:

abort:

percentage:

value: 5

httpStatus: 503

Test:

$ curl -H 'x-chaos-test: true' http://checkout/

Preparing for an interview?

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

← All Istio & Service Mesh questions