Files
k3s-at-home/clusters/ipv6/media/jellyfin/jellyfin.yml
aggarwalakshun 9aabad8216
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 1m3s
ipv6 cluster initial commit
2026-01-04 07:08:20 +05:30

54 lines
1.1 KiB
YAML

---
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: 10.0.0.123
path: /merge
- name: i915
hostPath:
path: /dev/dri