diff --git a/apps/k8s01/jellyfin/deployment.yaml b/apps/k8s01/jellyfin/deployment.yaml index 5a4bd948fa371434fc823617a03fd460bbe5340f..45f8fb8b70a68d1913f961e67e841802b4ebe865 100644 --- a/apps/k8s01/jellyfin/deployment.yaml +++ b/apps/k8s01/jellyfin/deployment.yaml @@ -47,6 +47,9 @@ spec: - containerPort: 8096 protocol: TCP volumeMounts: + - mountPath: /data/media/shows + name: shows + readOnly: True - mountPath: /data/media/movies name: movies readOnly: True @@ -71,6 +74,9 @@ spec: - name: movies persistentVolumeClaim: claimName: jellyfin-movies + - name: shows + persistentVolumeClaim: + claimName: jellyfin-shows - name: media persistentVolumeClaim: claimName: media diff --git a/apps/k8s01/jellyfin/pv.yaml b/apps/k8s01/jellyfin/pv.yaml index 4f0431d917aa77b2245c6ae6fee28740a36bc4f4..a827cd674b862fd5d551ba6388d0afb7c2860bf0 100644 --- a/apps/k8s01/jellyfin/pv.yaml +++ b/apps/k8s01/jellyfin/pv.yaml @@ -16,3 +16,22 @@ spec: mountOptions: - hard - noexec +--- +apiVersion: v1 +kind: PersistentVolume +metadata: + name: jellyfin-shows +spec: + persistentVolumeReclaimPolicy: Retain + storageClassName: "" + capacity: + storage: 2Ti + accessModes: + - ReadWriteMany + volumeMode: Filesystem + nfs: + server: fs03.storage.si-infra.de + path: "/mnt/NAS/shares/shows" + mountOptions: + - hard + - noexec diff --git a/apps/k8s01/jellyfin/pvc.yaml b/apps/k8s01/jellyfin/pvc.yaml index cc88ddaa87f9331b5b6e32278e321ed2d2f06d53..618a3a802fedfd7da8b35662583f70803d0f2503 100644 --- a/apps/k8s01/jellyfin/pvc.yaml +++ b/apps/k8s01/jellyfin/pvc.yaml @@ -15,6 +15,23 @@ spec: storage: 2Ti volumeName: jellyfin-movies --- +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: jellyfin-shows + labels: + app.kubernetes.io/name: jellyfin + app.kubernetes.io/component: jellyfin +spec: + storageClassName: "" + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Ti + volumeName: jellyfin-shows +--- apiVersion: v1 kind: PersistentVolumeClaim metadata: