A Chaos Monkey system for Docker Swarm
A Chaos Monkey system for Docker Swarm.
Implemented for the book 12 Factor Applications with Docker and Go.
Creating a disposable service is as simple as adding a label role=disposable
.
For example:
docker service create -l role=disposable --name gotwitter titpetric/gotwitter
When running chaos.sh
you can set two environment variables:
DOCKER_LABEL
- "key=value" label that services must have to be killed offSKIP_WARNING=1
- skip initial warning