dragonfly/tools/benchmark/k8s-benchmark-job.yaml
adiholden e3eb8518fd
feat(test): Improve benchmark workflow (#3330)
Signed-off-by: adi_holden <adi@dragonflydb.io>
2024-07-17 14:34:48 +03:00

26 lines
733 B
YAML

---
apiVersion: batch/v1
kind: Job
metadata:
name: memtier-benchmark
spec:
backoffLimit: 0
template:
spec:
containers:
- name: memtier
image: redislabs/memtier_benchmark:latest
args:
- memtier_benchmark --pipeline=30 --key-maximum=100000 -c 10 -t 2 --test-time=600 --reconnect-interval=10000 --distinct-client-seed --hide-histogram -s dragonfly-sample
command:
- sh # This is important! without it memtier cannot DIG the dragonfly SVC domain
- -c
resources:
requests:
cpu: "2"
memory: "500Mi"
limits:
cpu: "2"
memory: "500Mi"
restartPolicy: Never