Skip to content

Commit f77d323

Browse files
authored
Merge pull request #63 from Project-HAMi/update_dockerfile
update dockerfile and deployment
2 parents a3fb257 + efd87ed commit f77d323

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

docker/Dockerfile.ubuntu20.04

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ WORKDIR /libvgpu
4545
RUN rm -rf /libvgpu/build
4646
RUN bash ./build.sh
4747

48-
FROM debian:stretch-slim
48+
FROM ubuntu:24.04
4949

5050
ENV NVIDIA_VISIBLE_DEVICES=all
5151
ENV NVIDIA_DRIVER_CAPABILITIES=utility

volcano-vgpu-device-plugin.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,15 @@ spec:
214214
fieldPath: spec.nodeName
215215
- name: HOOK_PATH
216216
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"
217223
securityContext:
218-
allowPrivilegeEscalation: false
224+
allowPrivilegeEscalation: true
225+
previleged: true
219226
capabilities:
220227
drop: ["ALL"]
221228
add: ["SYS_ADMIN"]

0 commit comments

Comments
 (0)