-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml
77 lines (77 loc) · 2.78 KB
/
example.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: vdpod-disk
namespace: default
spec:
accessModes:
- ReadWriteOnce
storageClassName: ocs-storagecluster-ceph-rbd
resources:
requests:
storage: 64Gi
---
kind: Pod
apiVersion: v1
metadata:
name: vdpod
namespace: default
spec:
nodeSelector:
kubernetes.io/hostname: "boaz-baremetal2"
containers:
- name: vdpod
namespace: default
image: quay.io/bbenshab/vdpod
imagePullPolicy: "Always"
volumeMounts:
- name: vdpod-disk
mountPath: "/workload"
env:
#tests settings
- name: BLOCK_SIZES # can be an application pattern (oltp1,oltp2,oltphw,odss2,odss128) a block size or cache hit test
value: "oltp1,oltp2,oltphw,odss2,odss128,4_cache,64_cache,4,64,4_cache,64_cache,4,64,64"
- name: IO_OPERATION #type of IO operation should be application pattern if one was choosen, read or write.
value: "oltp1,oltp2,oltphw,odss2,odss128,read,read,read,read,write,write,write,write,read"
- name: IO_THREADS #number of threads per test
value: "10,10,10,10,10,4,4,2,2,4,4,2,2,5"
- name: FILES_IO #How file IO will be done should be application pattern if one was choosen, random or sequential
value: "oltp1,oltp2,oltphw,odss2,odss128,random,random,random,random,random,random,random,random,random"
- name: IO_RATE # set a limit to the IO rate with an integer or "max" for no limit
value: "max,max,max,max,max,max,max,max,max,max,max,max,max,max"
- name: MIX_PRECENTAGE # used for mixed workload e.g if IO_OPERATION was set to write and value is 40 then you will get 40% writes and 60% reads
value:
#global settings
- name: DURATION #test duration
value: "10"
- name: PAUSE #pause after every test in sec
value: "0"
- name: WARMUP # warmup before any test in sec
value: "0"
- name: FILES_SELECTION #This parameter allows you to select directories and files for processing either sequentially or randomly
value: "random"
- name: COMPRESSION_RATIO #ratio is 1:X e.g 2 = 50% compressible
value: "2"
- name: RUN_FILLUP #will it run a fillup before testing starts yes/no
value: "no"
- name: LOGS_DIR # logs directory
value: "/workload/"
#data set settings
- name: DIRECTORIES #how many directories to create
value: "600"
- name: FILES_PER_DIRECTORY
value: "10"
- name: SIZE_PER_FILE # size in MB
value: "10"
restartPolicy: "Never"
volumes:
- name: vdpod-disk
namespace: default
persistentVolumeClaim:
claimName: vdpod-disk
resources:
requests:
cpu: 100m
memory: 2Gi
---