apiVersion: v1
kind: Pod
metadata:
  name: nginx-sheepdog
  namespace: default
spec:
  containers:
  - name: nginx
    image: nginx
    volumeMounts:
    - name: test
      mountPath: /data
    ports:
    - containerPort: 80
  volumes:
  - name: test
    flexVolume:
      driver: "kvaps/sheepdog"
      fsType: "ext4"
      options:
        vdiname: "alice"
        size: "1g"
        copies: "2"
