Skip to content

Commit 6dd2ade

Browse files
committed
DRA scheduler: reduce log verbosity
That a pod with no claims remains unschedulable on claim changes is a pretty normal case. It should only be logged when debugging.
1 parent 89e2fea commit 6dd2ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func (pl *dynamicResources) isSchedulableAfterClaimChange(logger klog.Logger, po
445445
// This is not an unexpected error: we know that
446446
// foreachPodResourceClaim only returns errors for "not
447447
// schedulable".
448-
logger.V(4).Info("pod is not schedulable", "pod", klog.KObj(pod), "claim", klog.KObj(modifiedClaim), "reason", err.Error())
448+
logger.V(6).Info("pod is not schedulable after resource claim change", "pod", klog.KObj(pod), "claim", klog.KObj(modifiedClaim), "reason", err.Error())
449449
return framework.QueueSkip, nil
450450
}
451451

0 commit comments

Comments
 (0)