mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +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",
|
"%v -> %v: %v, capacity %d millicores %d memory bytes, total request %d millicores %d memory bytes, score %d",
|
||||||
pod.Name, node.Name, r.Name,
|
pod.Name, node.Name, r.Name,
|
||||||
allocatable.MilliCPU, allocatable.Memory,
|
allocatable.MilliCPU, allocatable.Memory,
|
||||||
requested.MilliCPU+allocatable.MilliCPU, requested.Memory+allocatable.Memory,
|
requested.MilliCPU, requested.Memory,
|
||||||
score,
|
score,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user