use intel-gpu-operator
This commit is contained in:
13
cluster/apps/jellyfin/jellyfin-pvc.yml
Normal file
13
cluster/apps/jellyfin/jellyfin-pvc.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: longhorn-jellyfin
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
storageClassName: longhorn
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 25Gi
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user