-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperiment-app.json
52 lines (52 loc) · 1.65 KB
/
experiment-app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"title": "Após o pod da aplicação ser derrubado ele voltará ao ar em menos de 10 segundos?",
"description": "Esperamos que o pod da aplicação volte ao ar em menos de 10 segundos",
"tags": ["kubernetes", "springapp"],
"steady-state-hypothesis": {
"title": "Verificando se os pods estão disponíveis",
"probes": [
{
"name": "all-pod-available",
"type": "probe",
"tolerance": true,
"provider": {
"type": "python",
"module": "chaosk8s.probes",
"func": "deployment_fully_available",
"arguments": {
"name": "app",
"ns": "aulainfra",
"timeout": 20
}
}
}
]
},
"method": [
{
"type": "action",
"name": "deleting-pod-application",
"provider": {
"type": "python",
"module": "chaosk8s.pod.actions",
"func": "terminate_pods",
"arguments": {
"label_selector": "app=app",
"ns": "aulainfra",
"qty": 1,
"rand": true,
"grace_period": 0
}
}
},
{
"name": "application-returning-page",
"type": "probe",
"tolerance": 200,
"provider": {
"type": "http",
"url": "http://springpetapp.westus.cloudapp.azure.com/owners/11"
}
}
]
}