pvc.yml 857 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apiVersion: v1
  2. kind: Template
  3. metadata:
  4. name: "amp-pvc"
  5. objects:
  6. - apiVersion: "v1"
  7. kind: "PersistentVolumeClaim"
  8. metadata:
  9. name: "system-storage"
  10. spec:
  11. accessModes:
  12. - "ReadWriteMany"
  13. resources:
  14. requests:
  15. storage: "100Mi"
  16. - apiVersion: "v1"
  17. kind: "PersistentVolumeClaim"
  18. metadata:
  19. name: "mysql-storage"
  20. spec:
  21. accessModes:
  22. - "ReadWriteOnce"
  23. resources:
  24. requests:
  25. storage: "1Gi"
  26. - apiVersion: "v1"
  27. kind: "PersistentVolumeClaim"
  28. metadata:
  29. name: "system-redis-storage"
  30. spec:
  31. accessModes:
  32. - "ReadWriteOnce"
  33. resources:
  34. requests:
  35. storage: "1Gi"
  36. - apiVersion: "v1"
  37. kind: "PersistentVolumeClaim"
  38. metadata:
  39. name: "backend-redis-storage"
  40. spec:
  41. accessModes:
  42. - "ReadWriteOnce"
  43. resources:
  44. requests:
  45. storage: "1Gi"