apiVersion: apps/v1 kind: Deployment metadata: name: jellyfin namespace: jellyfin labels: app: jellyfin spec: replicas: 1 selector: matchLabels: app: jellyfin template: metadata: labels: app: jellyfin annotations: spec: volumes: - name: jellyfin-config persistentVolumeClaim: claimName: mediaserver-jellyfin-config-pvc - name: plex-data persistentVolumeClaim: claimName: mediaserver-plex-data-pvc containers: - name: jellyfin image: ghcr.io/hotio/jellyfin:latest@sha256:691de0ddf8b3f27c8520f34cc566e4a18090ea2ac36a9ace1eec7184b6e9baca ports: - name: web containerPort: 8096 env: - name: PUID value: "1000" - name: PGID value: "1000" - name: UMASK value: "002" - name: TZ value: Europe/Amsterdam volumeMounts: - mountPath: /config name: jellyfin-config - mountPath: /data name: plex-data