mariadb-pv.yaml 546 B

123456789101112131415161718192021222324252627282930
  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: mariadb-master-pv
  5. spec:
  6. storageClassName: manual
  7. capacity:
  8. storage: 500Mi
  9. accessModes:
  10. - ReadWriteMany
  11. nfs:
  12. path: /volume2/FastNFS/mariadb-master
  13. server: 192.168.2.44
  14. readOnly: false
  15. ---
  16. apiVersion: v1
  17. kind: PersistentVolume
  18. metadata:
  19. name: mariadb-replicas-pv
  20. spec:
  21. storageClassName: manual
  22. capacity:
  23. storage: 500Mi
  24. accessModes:
  25. - ReadWriteMany
  26. nfs:
  27. path: /volume2/FastNFS/mariadb-replicas
  28. server: 192.168.2.44
  29. readOnly: false
  30. ---