71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
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
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
labels:
|
|
io.kompose.service: jellyfin
|
|
spec:
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: kubernetes.io/arch
|
|
operator: In
|
|
values:
|
|
- arm64
|
|
containers:
|
|
- env:
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: Etc/UTC
|
|
image: lscr.io/linuxserver/jellyfin:latest
|
|
name: jellyfin
|
|
ports:
|
|
- containerPort: 8096
|
|
protocol: TCP
|
|
- containerPort: 8920
|
|
protocol: TCP
|
|
- containerPort: 7359
|
|
protocol: UDP
|
|
- containerPort: 1900
|
|
protocol: UDP
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: jellyfin-claim0
|
|
- mountPath: /data/tvshows
|
|
name: jellyfin-claim1
|
|
- mountPath: /data/movies
|
|
name: jellyfin-claim2
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: jellyfin-claim0
|
|
persistentVolumeClaim:
|
|
claimName: jellyfin-claim0
|
|
- name: jellyfin-claim1
|
|
persistentVolumeClaim:
|
|
claimName: jellyfin-claim1
|
|
- name: jellyfin-claim2
|
|
persistentVolumeClaim:
|
|
claimName: jellyfin-claim2
|