File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ WORKDIR /libvgpu
45
45
RUN rm -rf /libvgpu/build
46
46
RUN bash ./build.sh
47
47
48
- FROM debian:stretch-slim
48
+ FROM ubuntu:24.04
49
49
50
50
ENV NVIDIA_VISIBLE_DEVICES=all
51
51
ENV NVIDIA_DRIVER_CAPABILITIES=utility
Original file line number Diff line number Diff line change @@ -214,8 +214,15 @@ spec:
214
214
fieldPath : spec.nodeName
215
215
- name : HOOK_PATH
216
216
value : " /usr/local/vgpu"
217
+ - name : NVIDIA_VISIBLE_DEVICES
218
+ value : " all"
219
+ - name : NVIDIA_MIG_MONITOR_DEVICES
220
+ value : " all"
221
+ - name : NVIDIA_DRIVER_CAPABILITIES
222
+ value : " utility"
217
223
securityContext :
218
- allowPrivilegeEscalation : false
224
+ allowPrivilegeEscalation : true
225
+ previleged : true
219
226
capabilities :
220
227
drop : ["ALL"]
221
228
add : ["SYS_ADMIN"]
You can’t perform that action at this time.
0 commit comments