4 ms·
It's worth noting that Istio has built-in support for failure injection (i.e. without needing to run a separate service to return 500s): https://istio.io/docs/t
by lemoncucumber 7y ago
It's worth noting that Istio has built-in support for failure injection (i.e. without needing to run a separate service to return 500s): https://istio.io/docs/tasks/traffic-management/fault-injection/#injecting-an-http-abort-fault https://istio.io/docs/tasks/traffic-management/fault-injecti...
As far as I know Linkerd does not (yet) have such a feature though, so this post seems like a reasonable alternative.
- adlleong 7y agoThat's right, and there are some interesting trade-offs. Having failure injection built-in is convenient but running a separate service gives you full control over the error responses. This can be useful if you want to simulate responses with error bodies, for example.