Add non-preemptible policy to PriorityClasses#78844
Add non-preemptible policy to PriorityClasses#78844xychu wants to merge 1 commit intokubernetes:masterfrom
Conversation
|
Hi @xychu. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xychu The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
| PreemptLowerPriority PreemptionPolicy = "PreemptLowerPriority" | ||
| // PreemptNever means that pod never preempts other pods with lower priority. | ||
| PreemptNever PreemptionPolicy = "Never" | ||
| // NonPreemptible means that pod can not be preempted by other pods with higher priority. |
There was a problem hiding this comment.
I think it's better to open a KEP first and have a thorough discussion about why we need it and how to implement it. Please take a look at https://github.com/kubernetes/enhancements
|
Thanks @xychu May need more use case in this issue kubernetes/enhancements#902. |
|
@draveness @denkensk @wgliang thanks for your review. I'll update the KEP in kubernetes/enhancements#902 first. Will submit a pr later. |
|
KEP pr: kubernetes/enhancements#1096 |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
@fejta-bot: Closed this PR. DetailsIn response to this:
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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
As we've have non-preempting(#74614) policy, for some cases, users may need non-preemptible PriorityClasses as well.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Need advice on the naming part.
Does this PR introduce a user-facing change?: