Skip to content

Commit

Permalink
update ds yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fourhu committed Dec 17, 2024
1 parent 2b80e22 commit 1be396b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions k8s-dcu-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ spec:
- image: swr.cn-central-221.ovaijisuan.com/hami/dcu-vgpu-device-plugin:master
#command: ["/bin/bash","-c","source /opt/hygondriver/env.sh && sleep infinity"]
command: [ "/root/k8s-device-plugin" ]
# command:
# - sleep
# - "3600000"
name: dcu-dp-cntr
env:
- name: NODE_NAME
Expand All @@ -43,10 +40,10 @@ spec:
value: ~/.bashrc
securityContext:
privileged: true
# allowPrivilegeEscalation: true
# capabilities:
# drop: [ "ALL" ]
# add: [ "SYS_ADMIN" ]
allowPrivilegeEscalation: true
capabilities:
drop: [ "ALL" ]
add: [ "SYS_ADMIN" ]
volumeMounts:
- name: dp
mountPath: /var/lib/kubelet/device-plugins
Expand Down

0 comments on commit 1be396b

Please sign in to comment.