apiVersion: v1
kind: PersistentVolume
metadata:
  name: nlp.mysqlbackup
  namespace: fabricnlp    
  labels:
    type: local  
    namespace: fabricnlp  
spec:
  storageClassName: default
  capacity:
    storage: 16Gi
  # https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
  accessModes:
    - ReadWriteMany
  hostPath:
    path: "/mnt/data/fabricnlp_backups"
  claimRef:
    namespace: fabricnlp
    name: nlp.mysqlbackup
