apiVersion: v1
kind: PersistentVolume
metadata:
  name: geo-pv
  namespace: hotel-res
spec:
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 1Gi
  storageClassName: geo-storage
  hostPath:
    path: /data/volumes/geo-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:
       #         - r10
