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