All faults / Delivery & security
Secret rotated under running pods: chaos experiment
A credential is rotated at the source. Pods that read the old value at start keep presenting it until something restarts them.
What it tests
hot reload of credentials, restart on change
hot reload of credentials, restart on change
The hypothesis holds when
Pods reload the secret on change, or a rollout restarts them in step with the rotation.
Pods reload the secret on change, or a rollout restarts them in step with the rotation.
It breaks when
The old credential is rejected, and the errors continue until someone notices and restarts the deployment.
The old credential is rejected, and the errors continue until someone notices and restarts the deployment.
Reference
The same fault in other tools
- Chaos Mesh: no equivalent
- LitmusChaos: no equivalent
- ChaosBlade: no equivalent
- Chaos Monkey: no equivalent
Generated manifests and commands are on the Export tab. Confirm flags for your version before running them.
Run this experiment in your browser
Simulator only today. Export it as a manifest from the Export tab.