Mount video card into Jellyfin container
To permit Hardware Acceleration. See [here](https://stackoverflow.com/a/59291859), [here](https://jellyfin.org/docs/general/administration/hardware-acceleration/), and [here](https://old.reddit.com/r/jellyfin/comments/i2r4h9/how_to_enable_hardware_acceleration_with_docker/).
This commit is contained in:
parent
60417775be
commit
807785daca
@ -45,6 +45,8 @@ spec:
|
||||
name: jf-config
|
||||
- mountPath: /cache
|
||||
name: jf-cache
|
||||
- mountPath: /dev/video0
|
||||
name: dev-video0
|
||||
tolerations:
|
||||
- key: face
|
||||
operator: Equal
|
||||
@ -63,6 +65,9 @@ spec:
|
||||
- name: jf-cache
|
||||
persistentVolumeClaim:
|
||||
claimName: jf-cache-pvc
|
||||
- name: dev-video0
|
||||
hostPath:
|
||||
path: /dev/fb0
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
@ -31,6 +31,7 @@ podSecurityContext: {}
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
fsGroup: 1000
|
||||
privileged: true
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
|
Loading…
x
Reference in New Issue
Block a user