mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-15 17:51:06 +00:00
e3eb8518fd
Signed-off-by: adi_holden <adi@dragonflydb.io>
25 lines
733 B
YAML
25 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
|