Skip to content

Commit

Permalink
nvidia-k8s-device-plugin: change service dependency
Browse files Browse the repository at this point in the history
The NVIDIA device plugin knows how to re-connect to the kubelet in case
it isn't ready or it re-starts. Thus, it is sufficient to declare the
dependency on the kubelet with "Wants" instead of a stronger dependency
directive.

Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
(cherry picked from commit c63e3b3)
  • Loading branch information
arnaldo2792 authored and etungsten committed May 24, 2023
1 parent 95ed132 commit fc1f3b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=Start NVIDIA kubernetes device plugin
RefuseManualStart=true
RefuseManualStop=true
After=kubelet.service
BindsTo=kubelet.service
Wants=kubelet.service

[Service]
ExecStart=/usr/bin/nvidia-device-plugin
Expand Down

0 comments on commit fc1f3b8

Please sign in to comment.