Merge pull request #126807 from pohly/dra-resourceslice-update

DRA scheduler: ResourceSlice update
This commit is contained in:
Kubernetes Prow Robot
2024-08-22 15:18:09 +01:00
committed by GitHub
7 changed files with 215 additions and 92 deletions

View File

@@ -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 {