Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (38 sloc) 795 Bytes
apiVersion: v1
kind: Pod
metadata:
name: fio-jiva
labels:
name: fio-jiva
openebs.io/target-affinity: fio-jiva
spec:
containers:
- resources:
limits:
cpu: 0.5
name: fio-jiva
image: openebs/tests-fio
command: ["/bin/bash"]
args: ["-c", "./fio_runner.sh --template file/basic-rw --size 256m --duration 6000; exit 0"]
tty: true
volumeMounts:
- mountPath: /datadir
name: datavol
volumes:
- name: datavol
persistentVolumeClaim:
claimName: fio-jiva-claim
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: fio-jiva-claim
labels:
openebs.io/target-affinity: fio-jiva
spec:
storageClassName: openebs-jiva-fio-taa
accessModes:
- ReadWriteOnce
resources:
requests:
storage: "4G"
You can’t perform that action at this time.