From cf68eb575e2773469ec6daafd5e5418b9e77b95f Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Thu, 22 Aug 2024 10:53:05 +0200 Subject: [PATCH] DRA scheduler: reduce verbosity of "Checked claim" The original usage of `Allocate` was that the caller determines verbosity by passing a logger with increased verbosity threshold into the call. Later that was changed to using higher V levels inside `Allocated` itself, but the "Checked claim" log call slipped through. --- .../k8s.io/dynamic-resource-allocation/structured/allocator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/dynamic-resource-allocation/structured/allocator.go b/staging/src/k8s.io/dynamic-resource-allocation/structured/allocator.go index 61334e00ba4..c7bdd1f4247 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/structured/allocator.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/structured/allocator.go @@ -208,7 +208,7 @@ func (a *Allocator) Allocate(ctx context.Context, node *v1.Node) (finalResult [] alloc.requestData[requestIndices{claimIndex: claimIndex, requestIndex: requestIndex}] = requestData numDevices += requestData.numDevices } - alloc.logger.Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices) + alloc.logger.V(6).Info("Checked claim", "claim", klog.KObj(claim), "numDevices", numDevices) // Check that we don't end up with too many results. if numDevices > resourceapi.AllocationResultsMaxSize {