# postgres-backup-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: postgres-backup-pv spec: capacity: storage: 7Ti accessModes: - ReadWriteMany mountOptions: - hard - nfsvers=4.1 - rsize=1048576 - wsize=1048576 - noatime - nodiratime - tcp - intr nfs: path: /backups server: 192.168.0.100 persistentVolumeReclaimPolicy: Retain volumeMode: Filesystem --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: postgres-backup-pvc spec: accessModes: - ReadWriteMany resources: requests: storage: 7Ti volumeName: postgres-backup-pv storageClassName: "" volumeMode: Filesystem --- # apiVersion: v1 # kind: PersistentVolume # metadata: # name: nfs-ssd-configs # namespace: backups # spec: # capacity: # storage: 3Ti # accessModes: # - ReadWriteMany # persistentVolumeReclaimPolicy: Retain # csi: # driver: nfs.csi.k8s.io # volumeHandle: nfs-ssd # volumeAttributes: # server: 192.168.0.200 # share: /SSD/media/configs # # --- # apiVersion: v1 # kind: PersistentVolume # metadata: # name: nfs-nas-git # namespace: backups # spec: # capacity: # storage: 3Ti # accessModes: # - ReadWriteMany # mountOptions: # - rw # - sync # - noatime # - vers=4.2 # persistentVolumeReclaimPolicy: Retain # csi: # driver: nfs.csi.k8s.io # volumeHandle: nfs-nas-git # volumeAttributes: # server: 192.168.0.100 # share: /git # # --- # apiVersion: v1 # kind: PersistentVolume # metadata: # name: nfs-nas-backups # namespace: backups # spec: # capacity: # storage: 3Ti # accessModes: # - ReadWriteMany # mountOptions: # - rw # - sync # - noatime # - vers=4.2 # persistentVolumeReclaimPolicy: Retain # csi: # driver: nfs.csi.k8s.io # volumeHandle: nfs-nas-backups # volumeAttributes: # server: 192.168.0.100 # share: /backups #