apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: fio
spec:
  selector:
    matchLabels:
      app: fio
  serviceName: "fio"
  replicas: 1
  template:
    metadata:
      labels:
        app: fio
    spec:
      terminationGracePeriodSeconds: 10
      containers:
      - name: fio
        image: satchpx/fio-tester:latest
        volumeMounts:
        - name: mnt
          mountPath: /mnt
  volumeClaimTemplates:
  - metadata:
      name: mnt
    spec:
      accessModes: [ "ReadWriteOnce" ]
      storageClassName: "managed-premium"
      resources:
        requests:
          storage: 1024Gi