Skip to content

OverusedFn in proportion should be strict #479

@lminzhw

Description

@lminzhw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions