[WIP]: Feature: Support resource reservation
What type of PR is this?
What this PR does / why we need it:
Design docs: https://github.com/volcano-sh/volcano/pull/4148 Related PR:
- https://github.com/volcano-sh/descheduler/pull/5
- https://github.com/volcano-sh/apis/pull/177
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
There are some issues to optimize:
- [x] Write PodGroup for reservation to scheduler cache
- [x] Move some fields to ReservationContext
- [ ] Asynchronous processing for bind operations of reservation tasks.
- [ ] PostBind: Refer to pkg/scheduler/plugins/predicates/predicates.go and move reservation logic to reservation plugin to decouple
- [x] TTL mechanism
- [x] Move Reservation CRD to pkg/apis/scheduling
- [x] Support reserving resources on multiple optional target nodes.
Does this PR introduce a user-facing change?
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign monokaix
You can assign the PR to them by writing /assign @monokaix in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/assign @monokaix
@LegGasai: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.