summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-30 23:45:09 +0200
committerPaul Buetow <paul@buetow.org>2026-01-30 23:45:09 +0200
commitf7c7e8ee96fd4a5c0a839f3b5e7de40167a104b1 (patch)
treeb06249d5916892333a985217cf7e0c0d6e1c62a1
parent0481c0a119a9f5d52b6ff7ef61a1233d7bd7111f (diff)
Add libraries and data volumes to Jellyfin deployment
Amp-Thread-ID: https://ampcode.com/threads/T-019c10db-886d-76d8-80c5-0977578b492f Co-authored-by: Amp <amp@ampcode.com>
-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