apiVersion: apps/v1 kind: Deployment metadata: annotations: keel.sh/policy: minor keel.sh/trigger: poll keel.sh/pollSchedule: "@every 6h" labels: io.kompose.service: jellyfin name: jellyfin spec: replicas: 1 selector: matchLabels: io.kompose.service: jellyfin strategy: type: Recreate template: metadata: labels: io.kompose.service: jellyfin spec: nodeSelector: role: master containers: - env: - name: PGID value: "1000" - name: PUID value: "1000" - name: TZ value: Asia/Kuwait - name: NVIDIA_VISIBLE_DEVICES value: all # Make all GPUs visible - name: NVIDIA_DRIVER_CAPABILITIES value: all # Required for Jellyfin hardware acceleration image: nomadics/alaskarfin:latest name: jellyfin ports: - containerPort: 8096 protocol: TCP resources: limits: nvidia.com/gpu: 1 requests: nvidia.com/gpu: 1 volumeMounts: - mountPath: /config name: ssd subPath: configs/jellyarr/jellyfin_config - mountPath: /data/tvshows name: ssd subPath: tvshows - mountPath: /data/movies name: ssd subPath: movies - mountPath: /data/anime name: ssd subPath: anime - mountPath: /data/books/audiobooks name: ssd subPath: books/audiobooks - mountPath: /data/books/ebooks name: ssd subPath: books/ebooks - mountPath: /data/HDD/media name: hdd restartPolicy: Always runtimeClassName: nvidia volumes: - name: ssd persistentVolumeClaim: claimName: nfs-ssd-pvc - name: hdd persistentVolumeClaim: claimName: nfs-hdd-pvc