apiVersion: apps/v1
kind: Deployment
metadata:
  name: fio-lvm
spec:
  selector:
    matchLabels:
      name: fio-lvm
  replicas: 1
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        name: fio-lvm
    spec:
      containers:
      - name: perfrunner
        image: openebs/tests-fio
        command: ["/bin/bash"]
        args: ["-c", "while true ;do sleep 50; done"]
        volumeMounts:
           - mountPath: /datadir
             name: fio-lvm-vol
        tty: true
      volumes:
      - name: fio-lvm-vol
        persistentVolumeClaim:
          claimName: csi-lvmpv

