-
Notifications
You must be signed in to change notification settings - Fork 1
/
kube-burner.yaml
44 lines (44 loc) · 1.06 KB
/
kube-burner.yaml
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
global:
gc: true
requestTimeout: 300s
jobs:
- name: backends
namespace: workload
preLoadImages: false
jobIterations: 1
podWait: true
objects:
- objectTemplate: backend.yaml
replicas: 1
inputVars:
backends: {{.BACKENDS}}
- name: services
namespace: workload
preLoadImages: false
jobIterations: 1
jobPause: 10s
qps: 100
burst: 100
objects:
- objectTemplate: service.yaml
replicas: {{.SERVICES}}
- objectTemplate: svc_waiter.yaml
replicas: 1
inputVars:
services: {{.SERVICES}}
waitWhenFinished: true
- name: clients
namespace: workload-client
preLoadImages: false
jobIterations: 1
jobPause: "{{.JOB_PAUSE}}"
beforeCleanup: "save_logs.sh"
waitWhenFinished: false
objects:
- objectTemplate: client.yaml
replicas: {{.CLIENTS}}
inputVars:
services: {{.SERVICES}}
clients: {{.CLIENTS}}
conn_per_client: {{.CONN_PER_CLIENT}}
concurrency: {{.CLIENT_CONCURRENCY}}