mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
27 lines
No EOL
633 B
YAML
27 lines
No EOL
633 B
YAML
---
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: tpcc-bench
|
|
spec:
|
|
template:
|
|
metadata:
|
|
name: tpcc-bench
|
|
labels:
|
|
loadgen_lkey: loadgen_lvalue
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: tpcc-bench
|
|
image: openebs/tests-tpcc-client
|
|
command: ["/bin/bash"]
|
|
args: ["-c", "./tpcc-runner.sh service_ip tpcc.conf; exit 0"]
|
|
volumeMounts:
|
|
- name: tpcc-configmap
|
|
mountPath: /tpcc-mysql/tpcc.conf
|
|
subPath: tpcc.conf
|
|
tty: true
|
|
volumes:
|
|
- name: tpcc-configmap
|
|
configMap:
|
|
name: tpcc-config |