File tree Expand file tree Collapse file tree 16 files changed +53
-27
lines changed
fio-distributed/templates
smallfile-bench/templates Expand file tree Collapse file tree 16 files changed +53
-27
lines changed Original file line number Diff line number Diff line change 1
1
# Ignore
2
+ * .swp
Original file line number Diff line number Diff line change @@ -33,6 +33,33 @@ un-block it. The benchmarks mentioned above that state `Used` for Reconciliation
33
33
These two bencharmks are written in a way that doesn't allow for reconciliation to be implemented. To take
34
34
advantage of the reconciliation loop, these two benchmarks need to be rewritten.
35
35
36
+ ## Optional workload images
37
+ Optional locations for workload images can now be added easily without the need to rebuild the operator.
38
+ To do so in the workload args section of the CR add image: [ location]
39
+
40
+ NOTE: This is not a required arguement. If omitted it will default to the currently verified workload image.
41
+ Additionally, this is not enabled for YCSB
42
+
43
+ For Example:
44
+
45
+ ```
46
+ apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
47
+ kind: Benchmark
48
+ metadata:
49
+ name: example-benchmark
50
+ namespace: my-ripsaw
51
+ spec:
52
+ elasticsearch:
53
+ server: "my-es.foo.bar"
54
+ port: 9200
55
+ metadata_collection: true
56
+ cleanup: false
57
+ workload:
58
+ name: "foo"
59
+ args:
60
+ image: my.location/foo:latest
61
+ ```
62
+
36
63
## Installation
37
64
[ Installation] ( docs/installation.md )
38
65
Original file line number Diff line number Diff line change 22
22
effect : NoSchedule
23
23
containers :
24
24
- name : backpack
25
- image : quay.io/cloud-bulldozer/backpack:latest
25
+ image : {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
26
26
command : ["/bin/sh", "-c"]
27
27
args : ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name; sleep infinity"]
28
28
imagePullPolicy : Always
Original file line number Diff line number Diff line change 22
22
{% if metadata_collection|default(false) is sameas true and metadata_targeted|default(true) is sameas true %}
23
23
initContainers :
24
24
- name : backpack-{{ trunc_uuid }}
25
- image : quay.io/cloud-bulldozer/backpack:latest
25
+ image : {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
26
26
command : ["/bin/sh", "-c"]
27
27
args : ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
28
28
imagePullPolicy : Always
Original file line number Diff line number Diff line change 13
13
spec :
14
14
containers :
15
15
- name : fio-client
16
- image : " quay.io/cloud-bulldozer/fio:latest"
16
+ image : {{ fiod.image | default(' quay.io/cloud-bulldozer/fio:latest') }}
17
17
imagePullPolicy : Always
18
18
wait : true
19
19
env :
72
72
{% if metadata_collection|default(false) is sameas true and metadata_targeted|default(true) is sameas true %}
73
73
initContainers :
74
74
- name : backpack-{{ trunc_uuid }}
75
- image : quay.io/cloud-bulldozer/backpack:latest
75
+ image : {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
76
76
command : ["/bin/sh", "-c"]
77
77
args : ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
78
78
imagePullPolicy : Always
Original file line number Diff line number Diff line change 29
29
securityContext :
30
30
privileged : true
31
31
{% endif %}
32
- image : " quay.io/cloud-bulldozer/fio:latest"
32
+ image : {{ fiod.image | default(' quay.io/cloud-bulldozer/fio:latest') }}
33
33
imagePullPolicy : Always
34
34
ports :
35
35
- containerPort : 8765
63
63
{% if metadata_collection|default(false) is sameas true and metadata_targeted|default(true) is sameas true %}
64
64
initContainers :
65
65
- name : backpack-{{ trunc_uuid }}
66
- image : quay.io/cloud-bulldozer/backpack:latest
66
+ image : {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
67
67
command : ["/bin/sh", "-c"]
68
68
args : ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
69
69
imagePullPolicy : Always
Original file line number Diff line number Diff line change 31
31
securityContext:
32
32
privileged: true
33
33
{% endif %}
34
- image: quay.io/cloud-bulldozer/fs-drift:master
34
+ image: {{ fs_drift.image | default(' quay.io/cloud-bulldozer/fs-drift:master') }}
35
35
# example of what to do when debugging image
36
36
# image: quay.io/bengland2/fs-drift:latest
37
37
imagePullPolicy: Always
97
97
{% if metadata_collection |default (false ) is sameas true and metadata_targeted |default (true ) is sameas true %}
98
98
initContainers:
99
99
- name: backpack-{{ trunc_uuid }}
100
- image: quay.io/cloud-bulldozer/backpack:latest
100
+ image: {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
101
101
command: ["/bin/sh", "-c"]
102
102
args: ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
103
103
imagePullPolicy: Always
Original file line number Diff line number Diff line change 16
16
- name : hammerdb
17
17
command : ["/bin/sh", "-c"]
18
18
args : ["/usr/local/bin/uid_entrypoint; cd /hammer; ./hammerdbcli auto /creator/createdb.tcl"]
19
- image : " quay.io/cloud-bulldozer/hammerdb:latest"
19
+ image : {{ hammerdb.image | default(' quay.io/cloud-bulldozer/hammerdb:latest') }}
20
20
imagePullPolicy : Always
21
21
volumeMounts :
22
22
- name : hammerdb-creator-volume
31
31
{% if metadata_collection|default(false) is sameas true and metadata_targeted|default(true) is sameas true %}
32
32
initContainers :
33
33
- name : backpack-{{ trunc_uuid }}
34
- image : quay.io/cloud-bulldozer/backpack:latest
34
+ image : {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
35
35
command : ["/bin/sh", "-c"]
36
36
args : ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
37
37
imagePullPolicy : Always
Original file line number Diff line number Diff line change 13
13
spec:
14
14
containers:
15
15
- name: hammerdb
16
- image: " quay.io/cloud-bulldozer/hammerdb:master"
16
+ image: {{ hammerdb.image | default(' quay.io/cloud-bulldozer/hammerdb:master') }}
17
17
imagePullPolicy: Always
18
18
wait: true
19
19
command: ["/bin/sh", "-c"]
54
54
{% if metadata_collection |default (false ) is sameas true and metadata_targeted |default (true ) is sameas true %}
55
55
initContainers:
56
56
- name: backpack-{{ trunc_uuid }}
57
- image: quay.io/cloud-bulldozer/backpack:latest
57
+ image: {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
58
58
command: ["/bin/sh", "-c"]
59
59
args: ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
60
60
imagePullPolicy: Always
Original file line number Diff line number Diff line change 20
20
{% endif %}
21
21
containers:
22
22
- name: benchmark
23
- image: " quay.io/cloud-bulldozer/iperf3:latest"
23
+ image: {{ iperf3.image | default(' quay.io/cloud-bulldozer/iperf3:latest') }}
24
24
imagePullPolicy: Always
25
25
wait: true
26
26
command: ["/bin/sh", "-c"]
34
34
{% if metadata_collection |default (false ) is sameas true and metadata_targeted |default (true ) is sameas true %}
35
35
initContainers:
36
36
- name: backpack-{{ trunc_uuid }}
37
- image: quay.io/cloud-bulldozer/backpack:latest
37
+ image: {{ metadata_image | default(' quay.io/cloud-bulldozer/backpack:latest') }}
38
38
command: ["/bin/sh", "-c"]
39
39
args: ["python3 stockpile-wrapper.py -s {{ elasticsearch.server }} -p {{ elasticsearch.port }} -u {{ uuid }} -n $my_node_name -N $my_pod_name"]
40
40
imagePullPolicy: Always
You can’t perform that action at this time.
0 commit comments