diff --git a/pkg/daemon/daemon.go b/pkg/daemon/daemon.go index c6c845cb0..9e25b7bef 100644 --- a/pkg/daemon/daemon.go +++ b/pkg/daemon/daemon.go @@ -732,8 +732,9 @@ func (dn *Daemon) restartDevicePluginPod() error { var podToDelete string pods, err := dn.kubeClient.CoreV1().Pods(vars.Namespace).List(context.Background(), metav1.ListOptions{ - LabelSelector: "app=sriov-device-plugin", - FieldSelector: "spec.nodeName=" + vars.NodeName, + LabelSelector: "app=sriov-device-plugin", + FieldSelector: "spec.nodeName=" + vars.NodeName, + ResourceVersion: "0", }) if err != nil { if errors.IsNotFound(err) {