Proportion bug in cluster with multi extend resource #550
Labels
area/scheduling
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Firstly, we have a case
In this case, we wanna to assign 10Ra to Qa and 10 Rb to Qb.
But, the result is not as we expected.
volcano/pkg/scheduler/plugins/proportion/proportion.go
Line 136 in a2c4436
At here,
Less
meansrequest
should be less thandeserved
in every resource.In this case, the
Less
func will not treat Qb asmeet
state, it means almost all Ra will be assigned to it. So, the pod in Qa would hardly be scheduled.What you expected to happen:
I think
do propotion in every resource
may fix this.The text was updated successfully, but these errors were encountered: