forked from cloud-bulldozer/benchmark-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cr.yaml
25 lines (25 loc) · 761 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
apiVersion: ripsaw.cloudbulldozer.io/v1alpha1
kind: Benchmark
metadata:
name: ycsb-couchbase-benchmark
namespace: benchmark-operator
spec:
elasticsearch:
server: http://my.elasticsearch.server:80
clustername: myk8scluster
workload:
name: ycsb
args:
infra: mongodb
driver: mongodb
recordcount: 100
operationcount: 100
requestdistribution: zipfian
workloads:
- workloada
- workloadb
- workloadc
- workloadf
- workloadd #workloade
options_load: '-p mongodb.url="mongodb://mongo/ycsb?"' #passed as is to ycsb when loading database
options_run: '-p mongodb.url="mongodb://mongo/ycsb? -threads 10 -target 100"' # passed as is to ycsb when running workloads