Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
|
overused := attr.deserved.LessEqual(attr.allocated) |
In OverusedFn, the overused means every resource in deserved should be less or equal that in allocated.
What you expected to happen:
But, I think deserved should act as a upperbound, overuse of any resource should lead to the overuse of queue.
Case
queue1: deserved: 0.5 cpu, 10G memory
queue2: deserved: 15.5 cpu, 30G memory
queue1 may allocated 10G memory pod and ignore the limit of 0.5 cpu.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
volcano/pkg/scheduler/plugins/proportion/proportion.go
Line 205 in 06e4a82
In
OverusedFn, theoverusedmeans every resource indeservedshould be less or equal that inallocated.What you expected to happen:
But, I think
deservedshould act as a upperbound, overuse of any resource should lead to the overuse of queue.Case
queue1: deserved: 0.5 cpu, 10G memory
queue2: deserved: 15.5 cpu, 30G memory
queue1 may allocated 10G memory pod and ignore the limit of 0.5 cpu.