Skip to content

dra-evolution: quota mechanism #24

@pohly

Description

@pohly

The "future extension" proposal in #14 for quota was to check quota at allocation time.

Pros:

  • Can limit resource consumption based on what actually gets made available to a user, compared to basing it on what is requested (might be a lower limit).
  • Supports creating more claims and pods than can run at the moment ("batching" - might not be relevant).
  • Can support "one of" (if X exceeds quota, use Y).

Cons:

  • All schedulers need to also consider the ResourceQuota when checking devices.
  • Exceeding quota has to be reported as part of scheduling failures. OTOH, users typically also don't create ResourceClaims manually, so there is some indirection with admission checks, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions