add manifests for jellyfin

This commit is contained in:
2025-12-27 14:56:16 +00:00
parent ef936ed471
commit 9e4ced262e
4 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: jellyfin
namespace: media
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: jellyfin
template:
metadata:
labels:
app: jellyfin
spec:
containers:
- name: jellyfin
image: jellyfin/jellyfin:10.11.5
ports:
- containerPort: 8096
volumeMounts:
- name: media
mountPath: /media
- name: config
mountPath: /config
- name: cache
mountPath: /cache
- name: i915
mountPath: /dev/dri
securityContext:
privileged: true
resources:
requests:
gpu.intel.com/i915: "1"
limits:
gpu.intel.com/i915: "1"
volumes:
- name: config
persistentVolumeClaim:
claimName: jellyfin-pvc
- name: cache
emptyDir: {}
- name: media
nfs:
server: 192.168.1.4
path: /merge
- name: i915
hostPath:
path: /dev/dri