diff --git a/pkg/descheduler/descheduler.go b/pkg/descheduler/descheduler.go index b5b3cd2839..813a5380c5 100644 --- a/pkg/descheduler/descheduler.go +++ b/pkg/descheduler/descheduler.go @@ -116,7 +116,7 @@ func RunDeschedulerStrategies(ctx context.Context, rs *options.DeschedulerServer ignorePvcPods = *deschedulerPolicy.IgnorePVCPods } - wait.Until(func() { + wait.NonSlidingUntil(func() { nodes, err := nodeutil.ReadyNodes(ctx, rs.Client, nodeInformer, nodeSelector) if err != nil { klog.V(1).InfoS("Unable to get ready nodes", "err", err)