argocd-test/mediaserver/base/mediaserver-jellyfin-deployment.yaml

50 lines
1.1 KiB
YAML
Raw Normal View History

2024-10-30 15:05:42 +00:00
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
resources:
requests:
cpu: 1
memory: 512Mi
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