summaryrefslogtreecommitdiff
path: root/f3s/player/helm-chart/templates/persistent-volume.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/player/helm-chart/templates/persistent-volume.yaml')
-rw-r--r--f3s/player/helm-chart/templates/persistent-volume.yaml55
1 files changed, 55 insertions, 0 deletions
diff --git a/f3s/player/helm-chart/templates/persistent-volume.yaml b/f3s/player/helm-chart/templates/persistent-volume.yaml
new file mode 100644
index 0000000..8bdb6b7
--- /dev/null
+++ b/f3s/player/helm-chart/templates/persistent-volume.yaml
@@ -0,0 +1,55 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: player-data-pv
+spec:
+ capacity:
+ storage: 1Gi
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteOnce
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /data/nfs/k3svolumes/player/data
+ type: Directory
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: player-data-pvc
+ namespace: services
+spec:
+ storageClassName: ""
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 1Gi
+---
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: player-media-pv
+spec:
+ capacity:
+ storage: 10Gi
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteOnce
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /data/nfs/k3svolumes/player/media
+ type: Directory
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: player-media-pvc
+ namespace: services
+spec:
+ storageClassName: ""
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 10Gi