From f7c7e8ee96fd4a5c0a839f3b5e7de40167a104b1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 Jan 2026 23:45:09 +0200 Subject: 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 --- f3s/grep | 0 f3s/jellyfin/helm-chart/templates/deployment.yaml | 14 +++++- .../helm-chart/templates/persistent-volume.yaml | 58 ++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 f3s/grep diff --git a/f3s/grep b/f3s/grep new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3