-
Notifications
You must be signed in to change notification settings - Fork 970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add hierarchical queues for capacity plugin #3743
Conversation
ref: #3590 |
/assign @Monokaix @lowang-bh @shinytang6 |
pkg/webhooks/admission/queues/mutate/mutate_hierarchical_queue.go
Outdated
Show resolved
Hide resolved
pkg/webhooks/admission/queues/mutate/mutate_hierarchical_queue.go
Outdated
Show resolved
Hide resolved
pkg/webhooks/admission/queues/validate/validate_hierarchical_queue.go
Outdated
Show resolved
Hide resolved
Is somewhere validate that job can only be submitted to leaf node? |
Please add some E2E test for this function. Because this function is very important. |
pkg/webhooks/admission/queues/mutate/mutate_hierarchical_queue.go
Outdated
Show resolved
Hide resolved
I will add it later |
I have already added this logic in the validate webhook of the job to ensure that jobs can only be submitted to leaf queues. |
/cc |
Please consider this scenario:
I believe this is how most existing users use hierarchical queues. result:
|
f69ac4c
to
ed795aa
Compare
12023c0
to
6aa4f0e
Compare
Look good to me. @Rui-Gan please squash your commit to one. and rebase master code |
31efa01
to
11188ef
Compare
Is this proposal still under consideration? I don't seem to find related logics. |
Regarding this issue, I think it would be better to submit another PR to handle this after the current PR is merged. There are a couple of reasons for this:
Based on the above considerations, I believe this logic can be implemented in a separate PR after the current PR is merged. What do you think? Is this a particularly urgent matter? |
If the implementation is quite complex, it would be acceptable to commit a separate PR for it. |
/lgtm |
I don't have any more questions, looks good to me |
Signed-off-by: Rui-Gan <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Monokaix The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.