game-stream(wolf): mount Nvidia driver volume
This commit is contained in:
parent
a19a19fbd5
commit
ce13ac054c
@ -51,6 +51,8 @@ spec:
|
|||||||
value: all
|
value: all
|
||||||
- name: NVIDIA_VISIBLE_DEVICES
|
- name: NVIDIA_VISIBLE_DEVICES
|
||||||
value: all
|
value: all
|
||||||
|
- name: NVIDIA_DRIVER_VOLUME_NAME
|
||||||
|
value: nvidia-driver-vol
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
resources:
|
resources:
|
||||||
@ -75,6 +77,8 @@ spec:
|
|||||||
mountPath: /dev
|
mountPath: /dev
|
||||||
- name: udev
|
- name: udev
|
||||||
mountPath: /run/udev
|
mountPath: /run/udev
|
||||||
|
- name: nvidia-driver-volume
|
||||||
|
mountPath: /usr/nvidia
|
||||||
- name: wolf-api-proxy
|
- name: wolf-api-proxy
|
||||||
image: ghcr.io/games-on-whales/wolf:stable
|
image: ghcr.io/games-on-whales/wolf:stable
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@ -170,3 +174,7 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /run/udev
|
path: /run/udev
|
||||||
type: Directory
|
type: Directory
|
||||||
|
- name: nvidia-driver-volume
|
||||||
|
hostPath:
|
||||||
|
path: /var/lib/docker/volumes/nvidia-driver-vol/_data
|
||||||
|
type: Directory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user