use intel-gpu-operator

This commit is contained in:
2025-07-06 11:54:05 +05:30
parent f35e4f9b82
commit 10d4d67843
2 changed files with 26 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: longhorn-jellyfin
namespace: default
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn
resources:
requests:
storage: 25Gi

View File

@@ -14,17 +14,6 @@ spec:
labels:
app: jellyfin
spec:
securityContext:
runAsGroup: 1000
runAsUser: 1000
supplementalGroups:
- 128
- 226
- 106
- 44
- 104
nodeSelector:
type: jellyfin
containers:
- name: jellyfin
image: jellyfin/jellyfin:10.10.7
@@ -39,23 +28,27 @@ spec:
mountPath: /config
- name: cache
mountPath: /cache
- name: card
mountPath: /dev/dri/renderD128
- name: i915
mountPath: /dev/dri
securityContext:
privileged: true
resources:
requests:
gpu.intel.com/i915: "1"
limits:
gpu.intel.com/i915: "1"
volumes:
- name: config
hostPath:
path: /home/akshun/jellyfin/
type: Directory
persistentVolumeClaim:
claimName: longhorn-jellyfin
- name: cache
hostPath:
path: /home/akshun/jellyfin/cache
path: /tmp/
type: Directory
- name: media
nfs:
server: 10.0.0.123
path: /merge
- name: card
persistentVolumeClaim:
claimName: jellyfin-intel-pvc
- name: i915
hostPath:
path: /dev/dri