Files
public-k3s/cluster/apps/jellyfin/jellyfin.yml
2025-07-06 11:54:05 +05:30

55 lines
1.1 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: jellyfin
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: jellyfin
template:
metadata:
labels:
app: jellyfin
spec:
containers:
- name: jellyfin
image: jellyfin/jellyfin:10.10.7
ports:
- containerPort: 8096
volumeMounts:
- name: media
mountPath: /media
readOnly: true
recursiveReadOnly: Enabled
- 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: longhorn-jellyfin
- name: cache
hostPath:
path: /tmp/
type: Directory
- name: media
nfs:
server: 10.0.0.123
path: /merge
- name: i915
hostPath:
path: /dev/dri