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]>
  • Loading branch information
arnaldo2792 committed May 24, 2023
1 parent a84e6cd commit c63e3b3
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 c63e3b3

Please sign in to comment.