redis-pvc.yaml 587 B

123456789101112131415161718192021222324252627282930313233343536
  1. apiVersion: v1
  2. kind: PersistentVolumeClaim
  3. metadata:
  4. name: redis-pvc
  5. spec:
  6. storageClassName: manual
  7. accessModes:
  8. - ReadWriteMany
  9. resources:
  10. requests:
  11. storage: 500Mi
  12. ---
  13. apiVersion: v1
  14. kind: PersistentVolumeClaim
  15. metadata:
  16. name: redis-replicas-pvc
  17. spec:
  18. storageClassName: manual
  19. accessModes:
  20. - ReadWriteMany
  21. resources:
  22. requests:
  23. storage: 500Mi
  24. ---
  25. apiVersion: v1
  26. kind: PersistentVolumeClaim
  27. metadata:
  28. name: redis-masters-pvc
  29. spec:
  30. storageClassName: manual
  31. accessModes:
  32. - ReadWriteMany
  33. resources:
  34. requests:
  35. storage: 500Mi