mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Fix incorrect reporting of total request including current pod in the
resource allocation priority function.
This commit is contained in:
parent
733a381ec4
commit
ea7f711ae2
@ -67,7 +67,7 @@ func (r *ResourceAllocationPriority) PriorityMap(
|
||||
"%v -> %v: %v, capacity %d millicores %d memory bytes, total request %d millicores %d memory bytes, score %d",
|
||||
pod.Name, node.Name, r.Name,
|
||||
allocatable.MilliCPU, allocatable.Memory,
|
||||
requested.MilliCPU+allocatable.MilliCPU, requested.Memory+allocatable.Memory,
|
||||
requested.MilliCPU, requested.Memory,
|
||||
score,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user