forked from xrally/xrally-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-check-and-delete-pod-with-hostpath-volume.json
70 lines (70 loc) · 1.62 KB
/
create-check-and-delete-pod-with-hostpath-volume.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"version": 2,
"title": "Create, read, check and delete pod with hostPath volume",
"subtasks": [
{
"title": "Run a single workload with create/read/check/delete pod with hostPath volume",
"scenario": {
"Kubernetes.create_and_delete_pod_with_hostpath_volume": {
"image": "busybox",
"command": [
"sleep",
"3600"
],
"mount_path": "/opt/check",
"check_cmd": [
"ls",
"/opt/check"
],
"error_regexp": "No such file",
"volume_type": "Directory",
"volume_path": "/tmp/"
}
},
"runner": {
"constant": {
"concurrency": 2,
"times": 10
}
},
"contexts": {
"namespaces": {
"count": 3,
"with_serviceaccount": true
}
}
},
{
"title": "Run create/read/check/delete pod with hostPath volume with rps runner",
"scenario": {
"Kubernetes.create_and_delete_pod_with_hostpath_volume": {
"image": "busybox",
"command": [
"sleep",
"3600"
],
"mount_path": "/opt/check",
"check_cmd": [
"ls",
"/opt/check"
],
"error_regexp": "No such file",
"volume_type": "Directory",
"volume_path": "/tmp/"
}
},
"runner": {
"rps": {
"rps": 2,
"times": 10
}
},
"contexts": {
"namespaces": {
"count": 3,
"with_serviceaccount": true
}
}
}
]
}