mirror of https://github.com/k3s-io/k3s
Fix incorrect reporting of total request including current pod in the
resource allocation priority function.pull/8/head
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