Skip to content
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

[YUNIKORN-2991] The queue in Draining state does not accept new applications #1002

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rhh777
Copy link
Contributor

@rhh777 rhh777 commented Dec 6, 2024

What is this PR for?

When the queue is in the Drafting state, new applications are still allowed to be scheduled after submission.
I think we should refuse.

What type of PR is it?

  • - Improvement

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-2991

How should this be tested?

Unit tests included

Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.55%. Comparing base (f7d0e10) to head (8ab3e65).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1002      +/-   ##
==========================================
- Coverage   81.57%   81.55%   -0.02%     
==========================================
  Files          97       97              
  Lines       15656    15659       +3     
==========================================
  Hits        12771    12771              
- Misses       2601     2603       +2     
- Partials      284      285       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rhh777 rhh777 closed this Dec 9, 2024
@rhh777 rhh777 reopened this Dec 9, 2024
@wilfred-s
Copy link
Contributor

See my comment in the jira, can we investigate doing the check in the AppPlacementManager?

@rhh777
Copy link
Contributor Author

rhh777 commented Dec 25, 2024

I have made the suggested modifications, and now the rejected information in the pod event information is not very clear. Should we display more rejection information?

Before modification
image
After modification
image

See my comment in the jira, can we investigate doing the check in the AppPlacementManager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants