mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
jellyfin gpu passthrough
This commit is contained in:
@@ -12,9 +12,16 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: jellyfin
|
app: jellyfin
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
supplementalGroups:
|
||||||
|
- 104
|
||||||
containers:
|
containers:
|
||||||
- name: jellyfin
|
- name: jellyfin
|
||||||
image: lscr.io/linuxserver/jellyfin:latest
|
image: lscr.io/linuxserver/jellyfin:latest
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8096
|
- containerPort: 8096
|
||||||
name: http
|
name: http
|
||||||
@@ -25,6 +32,8 @@ spec:
|
|||||||
- mountPath: /data/media
|
- mountPath: /data/media
|
||||||
name: data
|
name: data
|
||||||
subPath: media
|
subPath: media
|
||||||
|
- name: dev-dri
|
||||||
|
mountPath: /dev/dri
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@@ -32,5 +41,8 @@ spec:
|
|||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: media-data
|
claimName: media-data
|
||||||
|
- name: dev-dri
|
||||||
|
hostPath:
|
||||||
|
path: /dev/dri
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user