A pod-kill experiment caused a 30-second spike of 502s, even though there are 3 replicas.
IntermediateScenarioChaos Engineering & Game Days
Answer
Situation read → Replicas exist, but traffic still went to the dying pod: graceful shutdown or endpoint removal is broken.
What I'd do →
- Check if the app handles SIGTERM and drains connections.
- Add a
preStopsleep (5 to 10 seconds) so endpoint removal propagates before shutdown. - Check readiness probes: new pods should only receive traffic when ready.
- Check the ingress or load balancer health check and deregistration settings (ALB
deregistration_delay). - Re-run the experiment to confirm.
Why → This is exactly what chaos is for: revealing that redundancy is not enough without graceful handling.
Interview tip → Mention preStop and endpoint propagation delay.
More on Chaos Engineering & Game Days
Your company has never done chaos engineering. How do you start safely?BeginnerYour team wants to run chaos experiments in production. Leadership is nervous.IntermediateDesign a game day for an AZ failure on EKS.AdvancedA NetworkChaos delay experiment on a dependency caused the caller to fall over completely.AdvancedHow do you decide which chaos experiments to run first?IntermediateYou want to make chaos experiments part of the release process.Advanced