plex-pvc.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. ---
  2. apiVersion: v1
  3. kind: PersistentVolumeClaim
  4. metadata:
  5. name: plex-config-pvc
  6. namespace: plex
  7. labels:
  8. app: plex
  9. spec:
  10. storageClassName: ceph-block
  11. accessModes:
  12. - ReadWriteOnce
  13. resources:
  14. requests:
  15. storage: 50Gi
  16. ---
  17. apiVersion: v1
  18. kind: PersistentVolume
  19. metadata:
  20. name: plex-media-metadata-static-pv
  21. spec:
  22. accessModes:
  23. - ReadWriteMany
  24. capacity:
  25. storage: 20Ti
  26. csi:
  27. controllerExpandSecretRef:
  28. name: rook-csi-cephfs-provisioner
  29. namespace: rook-ceph
  30. driver: rook-ceph.cephfs.csi.ceph.com
  31. nodeStageSecretRef:
  32. name: rook-csi-cephfs-node
  33. namespace: rook-ceph
  34. volumeAttributes:
  35. clusterID: rook-ceph
  36. fsName: media
  37. pool: media-data0
  38. storage.kubernetes.io/csiProvisionerIdentity: 1657147448506-8081-rook-ceph.cephfs.csi.ceph.com
  39. subvolumeName: csi-vol-9b2f40f9-0613-11ed-8662-4a986e7745e3
  40. subvolumePath: /volumes/csi/csi-vol-9b2f40f9-0613-11ed-8662-4a986e7745e3/07b0a3bf-e458-4442-90df-f70aaa971da6
  41. volumeHandle: 0001-0009-rook-ceph-0000000000000002-9b2f40f9-0613-11ed-8662-4a986e7745e3
  42. persistentVolumeReclaimPolicy: Retain
  43. storageClassName: media-sc
  44. volumeMode: Filesystem
  45. ---
  46. apiVersion: v1
  47. kind: PersistentVolumeClaim
  48. metadata:
  49. name: plex-media-metadata-pvc
  50. namespace: plex
  51. spec:
  52. storageClassName: media-sc
  53. volumeName: plex-media-metadata-static-pv
  54. volumeMode: Filesystem
  55. accessModes:
  56. - ReadWriteMany
  57. resources:
  58. requests:
  59. storage: 20Ti
  60. ---
  61. apiVersion: v1
  62. kind: PersistentVolume
  63. metadata:
  64. name: plex-media-static-pv
  65. spec:
  66. accessModes:
  67. - ReadWriteMany
  68. capacity:
  69. storage: 20Ti
  70. csi:
  71. controllerExpandSecretRef:
  72. name: rook-csi-cephfs-provisioner
  73. namespace: rook-ceph
  74. driver: rook-ceph.cephfs.csi.ceph.com
  75. nodeStageSecretRef:
  76. name: rook-csi-cephfs-node
  77. namespace: rook-ceph
  78. volumeAttributes:
  79. clusterID: rook-ceph
  80. fsName: media
  81. pool: media-data0
  82. storage.kubernetes.io/csiProvisionerIdentity: 1657147447431-8081-rook-ceph.cephfs.csi.ceph.com
  83. subvolumeName: csi-vol-474d5ba4-fe4f-11ec-9369-b20c27405718
  84. subvolumePath: /volumes/csi/csi-vol-474d5ba4-fe4f-11ec-9369-b20c27405718/ed910e5e-ebd1-40b5-9b58-464534002120
  85. volumeHandle: 0001-0009-rook-ceph-0000000000000002-474d5ba4-fe4f-11ec-9369-b20c27405718
  86. persistentVolumeReclaimPolicy: Retain
  87. storageClassName: media-sc
  88. volumeMode: Filesystem
  89. ---
  90. apiVersion: v1
  91. kind: PersistentVolumeClaim
  92. metadata:
  93. name: plex-media-pvc
  94. namespace: plex
  95. spec:
  96. storageClassName: media-sc
  97. volumeName: plex-media-static-pv
  98. volumeMode: Filesystem
  99. accessModes:
  100. - ReadWriteMany
  101. resources:
  102. requests:
  103. storage: 20Ti