-
Notifications
You must be signed in to change notification settings - Fork 129
/
cr.yaml
64 lines (62 loc) · 1.98 KB
/
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
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
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: uperf-benchmark
namespace: benchmark-operator
spec:
clustername: myk8scluster
elasticsearch:
url: http://es.server.com:80
#test_user: username_to_attach_to_metadata
workload:
# cleanup: true
name: uperf
args:
serviceip: false
hostnetwork: false
networkpolicy: false
multus:
enabled: false
pin: false
#
# pin: true/false - default=false
# - true will run 'Pin' mode using 1 server (pin_server:) and 1 client (pin_clien:) nodes.
# - false will run 'Scale' mode. See colocate, density_range, node_range and step_size.
pin_server: "node-0"
pin_client: "node-1"
samples: 1
kind: pod
pair: 1
#
# 'pair' sepcifies fixed number of client-server pairs for "Pin" mode,
# If 'pair' is NOT present, it will use 'density_range' which allows
# enumeration in addition to fixed number of pair.
test_types:
- stream
protos:
- tcp
sizes:
- 16384
nthrs:
- 1
runtime: 30
# The following variables are for 'Scale' mode.
# The 'Scale' mode is activated when 'pin=false' or undefined.
# The Scale mode params are: colocate, denstisy_range, node_range and step_size.
#
# colocate: true/false - default=false
# density_range: [n, m] - default=[1,1]
# node_range: [x, y] - default=[1,1]
# step_size: log2 - default=add1
# Valid step_size values are: addN or log2
# N can be any decimal number
# Enumeration examples:
# add1: 1,2,3,4 ,,,
# add2: 1,3,5,7 ...
# add10: 1,11,21,31 ...
# log2: 1,2,4,8,16,32 ,,,
#
# 'exclude_labels' specifies the list of ineligible worker nodes.
# exclude_labels: (OR conditional, every node that matches any of these labels is excluded)
# - "bad=true"
# - "fc640=true"