We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0756e35 + a3e0504 commit 05cfc47Copy full SHA for 05cfc47
pkg/daemon/daemon.go
@@ -606,7 +606,6 @@ func (dn *NodeReconciler) getDevicePluginPodsForNode(ctx context.Context) ([]cor
606
return []corev1.Pod{}, err
607
}
608
if len(pods.Items) == 0 {
609
- funcLog.Info("no device plugin pods found")
610
return []corev1.Pod{}, nil
611
612
return pods.Items, nil
@@ -622,6 +621,10 @@ func (dn *NodeReconciler) restartDevicePluginPod(ctx context.Context) error {
622
621
if err != nil {
623
return err
624
+ if len(devicePluginPods) == 0 {
625
+ funcLog.V(2).Info("no device plugin pods found during restart attempt")
626
+ return nil
627
+ }
628
for _, pod := range devicePluginPods {
629
podUID := pod.UID
630
funcLog.V(2).Info("Found device plugin pod, deleting it",
0 commit comments