postgres-pv.yaml 252 B

1234567891011121314
  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: postgres-pv
  5. spec:
  6. storageClassName: "manual"
  7. capacity:
  8. storage: 16Gi
  9. accessModes:
  10. - ReadWriteOnce
  11. nfs:
  12. path: /volume1/NFS/postgres
  13. server: 192.168.2.44
  14. readOnly: false