Automatically exclude liveness/readiness probe endpoints #195
Labels
enhancement
New feature or request
needs evaluation
issue needs evaluation to assess viability or impact
It is common to add exclusions for liveness/readiness endpoints to the test config, as not doing so may cause probes to fail and the pod to be removed from the service load balancer, or even restarted:
However, it might not be immediately obvious to application developers why this needs to be done. As http readiness/liveness probes are defined in the pod spec, it should be possible for the disruptor to check for any http probes present in this spec, and automatically feed them to the proxy.
Proposal
We can make a change in the agent so that, by default, bypasses all requests that include an
User-Agent
header that starts withkube-probe
.As there can be some cases where we do want for probes to be disrupted, we can add an option to opt-out of this behavior:
The text was updated successfully, but these errors were encountered: