Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ chaos run experiment.json
[2018-07-18 16:25:27 INFO] Validating the experiment's syntax
[2018-07-18 16:25:28 INFO] Experiment looks valid
[2018-07-18 16:25:28 INFO] Running experiment: My application is resilient to admin-instigated node drainage
[2018-07-18 16:25:28 INFO] Steady state hypothesis: Services are all available and healthy
[2018-07-18 16:25:28 INFO] Probe: application-must-respond-normally
[2018-07-18 16:25:28 INFO] Probe: pods_in_phase
[2018-07-18 16:25:28 INFO] Steady state hypothesis is met!
[2018-07-18 16:25:28 INFO] Action: drain_node
[2018-07-18 16:25:29 ERROR] => failed: chaoslib.exceptions.FailedActivity: Failed to evict pod my-service-6dc649f897-7m72z: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Cannot evict pod as it would violate the pod's disruption budget.","reason":"TooManyRequests","details":{"causes":[{"reason":"DisruptionBudget","message":"The disruption budget my-app-pdb needs 3 healthy pods and has 3 currently"}]},"code":429}
[2018-07-18 16:25:29 INFO] Steady state hypothesis: Services are all available and healthy
[2018-07-18 16:25:29 INFO] Probe: application-must-respond-normally
[2018-07-18 16:25:29 INFO] Probe: pods_in_phase
[2018-07-18 16:25:29 INFO] Steady state hypothesis is met!
[2018-07-18 16:25:29 INFO] Let's rollback...
[2018-07-18 16:25:29 INFO] Rollback: uncordon_node
[2018-07-18 16:25:29 INFO] Action: uncordon_node
[2018-07-18 16:25:29 INFO] Experiment ended with status: completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.