Skip to content

Instantly share code, notes, and snippets.

@ksatchit
Created June 11, 2021 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksatchit/7426f2c24a48e3aedbe79b5547d817b3 to your computer and use it in GitHub Desktop.
Save ksatchit/7426f2c24a48e3aedbe79b5547d817b3 to your computer and use it in GitHub Desktop.
engine-json
{
"apiVersion": "litmuschaos.io/v1alpha1",
"kind": "ChaosEngine",
"metadata": {
"name": "nginx-chaos",
"namespace": "default"
},
"spec": {
"appinfo": {
"appns": "default",
"applabel": "app=nginx",
"appkind": "deployment"
},
"engineState": "active",
"auxiliaryAppInfo": "",
"chaosServiceAccount": "pod-delete-sa",
"monitoring": false,
"jobCleanUpPolicy": "retain",
"experiments": [
{
"name": "pod-delete",
"spec": {
"components": {
"env": [
{
"name": "TOTAL_CHAOS_DURATION",
"value": "50"
},
{
"name": "CHAOS_INTERVAL",
"value": "10"
},
{
"name": "FORCE",
"value": "false"
}
]
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment