From fc1f3b80d3d4b327f085576e40b33c9624ee1a5e Mon Sep 17 00:00:00 2001 From: Arnaldo Garcia Rincon Date: Wed, 24 May 2023 15:47:37 +0000 Subject: [PATCH] nvidia-k8s-device-plugin: change service dependency 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 (cherry picked from commit c63e3b3978d9139f7fddc0895ea8cd8f43cb9a54) --- .../nvidia-k8s-device-plugin/nvidia-k8s-device-plugin.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nvidia-k8s-device-plugin/nvidia-k8s-device-plugin.service b/packages/nvidia-k8s-device-plugin/nvidia-k8s-device-plugin.service index 08c481c24c0..678fe855be5 100644 --- a/packages/nvidia-k8s-device-plugin/nvidia-k8s-device-plugin.service +++ b/packages/nvidia-k8s-device-plugin/nvidia-k8s-device-plugin.service @@ -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