35-pv-local-finanzas.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. apiVersion: v1
  2. kind: PersistentVolume
  3. metadata:
  4. name: finanzas-media-folder
  5. namespace: finanzas
  6. labels:
  7. app: finanzas
  8. spec:
  9. capacity:
  10. storage: 100Mi
  11. accessModes:
  12. - ReadWriteOnce
  13. hostPath:
  14. path: "/mnt/Externo/finanzas/media"
  15. ---
  16. apiVersion: v1
  17. kind: PersistentVolume
  18. metadata:
  19. name: finanzas-finanzas-migrations-folder
  20. namespace: finanzas
  21. labels:
  22. app: finanzas
  23. spec:
  24. capacity:
  25. storage: 52Mi
  26. accessModes:
  27. - ReadWriteOnce
  28. hostPath:
  29. path: "/mnt/Externo/finanzas/migrations/finanzas"
  30. ---
  31. apiVersion: v1
  32. kind: PersistentVolume
  33. metadata:
  34. name: finanzas-reymotausers-migrations-folder
  35. namespace: finanzas
  36. labels:
  37. app: finanzas
  38. spec:
  39. capacity:
  40. storage: 53Mi
  41. accessModes:
  42. - ReadWriteOnce
  43. hostPath:
  44. path: "/mnt/Externo/finanzas/migrations/reymotausers"
  45. ---
  46. apiVersion: v1
  47. kind: PersistentVolume
  48. metadata:
  49. name: finanzas-static-folder
  50. namespace: finanzas
  51. labels:
  52. app: finanzas
  53. spec:
  54. capacity:
  55. storage: 70Mi
  56. accessModes:
  57. - ReadWriteOnce
  58. hostPath:
  59. path: "/mnt/Externo/finanzas/static"
  60. ---
  61. apiVersion: v1
  62. kind: PersistentVolume
  63. metadata:
  64. name: finanzas-pg-folder
  65. namespace: finanzas
  66. labels:
  67. app: finanzas
  68. spec:
  69. capacity:
  70. storage: 200Mi
  71. accessModes:
  72. - ReadWriteOnce
  73. hostPath:
  74. path: "/mnt/Externo/finanzas/pg"