Skip to content

Instantly share code, notes, and snippets.

@russmiles
Created July 18, 2018 16:37
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 russmiles/f22b0876f39f6b110991e2b45debd410 to your computer and use it in GitHub Desktop.
Save russmiles/f22b0876f39f6b110991e2b45debd410 to your computer and use it in GitHub Desktop.
{
"version": "1.0.0",
"title": "My application is resilient to admin-instigated node drainage",
"description": "Can my application maintain its minimum resources?",
"tags": [
"service",
"kubernetes"
],
"steady-state-hypothesis": {
"title": "Services are all available and healthy",
"probes": [
{
"type": "probe",
"name": "application-must-respond-normally",
"tolerance": 200,
"provider": {
"type": "http",
"url": "http://http://35.189.85.252/",
"timeout": 3
}
},
{
"type": "probe",
"name": "pods_in_phase",
"tolerance": true,
"provider": {
"type": "python",
"module": "chaosk8s.pod.probes",
"func": "pods_in_phase",
"arguments": {
"label_selector": "biz-app-id=retail",
"phase": "Running",
"ns": "default"
}
}
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment