feat(k8s/jellyfin): add Jellyfin stack (deployment scaled to 0 for data migration)
Jellyfin media server with Intel GPU hardware transcoding, NFS media volume, and UDP discovery/DLNA ports. OIDC auth handled internally by Jellyfin (no Authelia middleware on ingress).
This commit is contained in:
73
kubernetes/app/jellyfin/deployment.yaml
Normal file
73
kubernetes/app/jellyfin/deployment.yaml
Normal file
@@ -0,0 +1,73 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jellyfin
|
||||
namespace: jellyfin
|
||||
labels:
|
||||
app: jellyfin
|
||||
spec:
|
||||
replicas: 0
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jellyfin
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jellyfin
|
||||
spec:
|
||||
containers:
|
||||
- name: jellyfin
|
||||
image: jellyfin/jellyfin:10.11.6
|
||||
env:
|
||||
- name: JELLYFIN_PublishedServerUrl
|
||||
value: https://${JELLYFIN_HOST}
|
||||
ports:
|
||||
- containerPort: 8096
|
||||
name: http
|
||||
protocol: TCP
|
||||
- containerPort: 7359
|
||||
name: discovery
|
||||
protocol: UDP
|
||||
hostPort: 7359
|
||||
- containerPort: 1900
|
||||
name: dlna
|
||||
protocol: UDP
|
||||
hostPort: 1900
|
||||
resources:
|
||||
limits:
|
||||
gpu.intel.com/i915: "1"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
port: 8096
|
||||
path: /health
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
port: 8096
|
||||
path: /health
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: cache
|
||||
mountPath: /cache
|
||||
- name: media
|
||||
mountPath: /media
|
||||
subPath: complete
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-config
|
||||
- name: cache
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-cache
|
||||
- name: media
|
||||
persistentVolumeClaim:
|
||||
claimName: jellyfin-media
|
||||
Reference in New Issue
Block a user