apiVersion: v1
kind: PersistentVolume
metadata:
  name: user-pv
spec:
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 1Gi
  storageClassName: user-storage
  hostPath:
    path: /mnt/volumes/user-pv   # Where all the hard drives are mounted
    type: DirectoryOrCreate
  # nodeAffinity:     # Use nodeAffinity to ensure it will only be mounted on the node with harddrives.
  #   required:
  #     nodeSelectorTerms:
  #       - matchExpressions:
  #           - key: kubernetes.io/hostname
  #             operator: In
  #             values:
  #               - h3.mesh.gaia-pg0.clemson.cloudlab.us