apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -f compose-jellyfin.yaml kompose.version: 1.38.0 (HEAD) labels: io.kompose.service: jellyfin name: jellyfin spec: replicas: 1 selector: matchLabels: io.kompose.service: jellyfin strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -f compose-jellyfin.yaml kompose.version: 1.38.0 (HEAD) labels: io.kompose.service: jellyfin spec: containers: - env: - name: PGID value: "3000" - name: PUID value: "3000" image: jellyfin/jellyfin:latest name: jellyfin ports: - containerPort: 8096 protocol: TCP name: web-ui volumeMounts: - mountPath: /config name: jellyfin-config - mountPath: /cache name: jellyfin-cache - mountPath: /media name: yarr restartPolicy: Always volumes: - name: jellyfin-config persistentVolumeClaim: claimName: jellyfin-config-pvc - name: jellyfin-cache persistentVolumeClaim: claimName: jellyfin-cache-pvc - name: yarr nfs: server: robin.home.nest path: /yarr/media --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: jellyfin-config-pvc labels: recurring-job.longhorn.io/source: "enabled" recurring-job-group.longhorn.io/app-config-group: "enabled" spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 3Gi --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: jellyfin-cache-pvc labels: recurring-job.longhorn.io/source: "enabled" recurring-job-group.longhorn.io/app-config-group: "enabled" spec: accessModes: - ReadWriteOnce storageClassName: longhorn resources: requests: storage: 3Gi