summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--f3s/grep0
-rw-r--r--f3s/jellyfin/helm-chart/templates/deployment.yaml14
-rw-r--r--f3s/jellyfin/helm-chart/templates/persistent-volume.yaml58
3 files changed, 70 insertions, 2 deletions
diff --git a/f3s/grep b/f3s/grep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/f3s/grep
diff --git a/f3s/jellyfin/helm-chart/templates/deployment.yaml b/f3s/jellyfin/helm-chart/templates/deployment.yaml
index f450d3b..a4953fd 100644
--- a/f3s/jellyfin/helm-chart/templates/deployment.yaml
+++ b/f3s/jellyfin/helm-chart/templates/deployment.yaml
@@ -29,10 +29,20 @@ spec:
volumeMounts:
- name: jellyfin-config
mountPath: /config
- volumes:
- - name: jellyfin-config
+ - name: jellyfin-libraries
+ mountPath: /media/libraries
+ - name: jellyfin-data
+ mountPath: /data
+ volumes:
+ - name: jellyfin-config
persistentVolumeClaim:
claimName: jellyfin-pvc
+ - name: jellyfin-libraries
+ persistentVolumeClaim:
+ claimName: jellyfin-libraries-pvc
+ - name: jellyfin-data
+ persistentVolumeClaim:
+ claimName: jellyfin-data-pvc
---
apiVersion: v1
kind: Service
diff --git a/f3s/jellyfin/helm-chart/templates/persistent-volume.yaml b/f3s/jellyfin/helm-chart/templates/persistent-volume.yaml
index bf16da6..a8374cd 100644
--- a/f3s/jellyfin/helm-chart/templates/persistent-volume.yaml
+++ b/f3s/jellyfin/helm-chart/templates/persistent-volume.yaml
@@ -26,3 +26,61 @@ spec:
resources:
requests:
storage: 50Gi
+---
+# Jellyfin PersistentVolume - Libraries storage
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: jellyfin-libraries-pv
+spec:
+ capacity:
+ storage: 500Gi
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteOnce
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /data/nfs/k3svolumes/jellyfin/libraries
+ type: Directory
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: jellyfin-libraries-pvc
+ namespace: services
+spec:
+ storageClassName: ""
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 500Gi
+---
+# Jellyfin PersistentVolume - Data storage
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: jellyfin-data-pv
+spec:
+ capacity:
+ storage: 100Gi
+ volumeMode: Filesystem
+ accessModes:
+ - ReadWriteOnce
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /data/nfs/k3svolumes/jellyfin/data
+ type: Directory
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: jellyfin-data-pvc
+ namespace: services
+spec:
+ storageClassName: ""
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 100Gi