forked from cloud-bulldozer/benchmark-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cr.yaml
32 lines (32 loc) · 785 Bytes
/
cr.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
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: stressng-benchmark
namespace: benchmark-operator
spec:
elasticsearch:
url: http://es.server.com:80
metadata:
collection: false
workload:
name: stressng
args:
# general options
runtype: "parallel"
timeout: "30"
instances: 1
pin: false # true for nodeSelector
pin_node: "node1"
resources: false # true for resources requests/limits
requests_cpu: 200m
requests_memory: 100Mi
limits_cpu: 2
limits_memory: 4Gi
# cpu stressor options
cpu_stressors: "1"
cpu_percentage: "100"
# vm stressor option
vm_stressors: "1"
vm_bytes: "128M"
# mem stressor options
mem_stressors: "1"