Skip to content

Instantly share code, notes, and snippets.

@dimzak
Last active June 4, 2020 16:05
Show Gist options
  • Save dimzak/32794bbb8e5adbda22298ab274fdd97b to your computer and use it in GitHub Desktop.
Save dimzak/32794bbb8e5adbda22298ab274fdd97b to your computer and use it in GitHub Desktop.
Sample chaostoolkit experiment
{
"version": "1.0",
"title": "Experiment evaluating serviceA operability without its database",
"description": "If serviceA database is down, serviceA continues to operate as usual",
"configuration": {},
"steady-state-hypothesis": {
"probes": [
{
"type": "probe",
"name": "Perform some read and writes to database through serviceA"
}
]
},
"method": [
{
"type": "action",
"name": "Drop serviceA database"
}
],
"rollbacks": [
{
"type": "action",
"name": "Attempt to rollback by recreating serviceA database"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment