k8s/apps/arr/jellyfin/jellyfin-deployment.yaml.old

59 lines
1.3 KiB
YAML
Raw Normal View History

apiVersion: apps/v1
kind: Deployment
***REMOVED***
name: jellyfin
namespace: media
spec:
replicas: 1
selector:
matchLabels:
app: jellyfin
template:
***REMOVED***
labels:
app: jellyfin
strategy:
type: Recreate
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: media-transcode
operator: In
values:
- "true"
spec:
containers:
- name: jellyfin
image: jellyfin/jellyfin
volumeMounts:
- name: config
mountPath: /config
- name: videos
mountPath: /data/videos
- name: dri
mountPath: /dev/dri
securityContext:
privileged: true
ports:
- containerPort: 8096
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Pacific/Auckland"
volumes:
- name: config
persistentVolumeClaim:
claimName: jellyfin-config
- name: videos
persistentVolumeClaim:
claimName: jellyfin-media
- name: dri
hostPath:
path: /dev/dri