KEP-3280keps/sig-scheduling/3280-guarantee-pdb-when-preemption-happens
Guarantee PodDisruptionBudget When Preemption Happens
<!-- This section is incredibly important for producing high-quality, user-focused documentation such as release notes or a development roadmap. It should be possible to collect this information before implementation begins, in order to avoid requiring implementors to split their attention between writing release notes and implementing the feature itself. KE… Full summary
<!-- This section is incredibly important for producing high-quality, user-focused documentation such as release notes or a development roadmap. It should be possible to collect this information before implementation begins, in order to avoid requiring implementors to split their attention between writing release notes and implementing the feature itself. KEP editors and SIG Docs should help to ensure that the tone and content of the Summary section is useful for a wide audience. A good summary is probably at least a paragraph in length. Both in this section and below, follow the guidelines of the [documentation style guide]. In particular, wrap lines to a reasonable length, to make it easier for reviewers to cite specific portions, and to minimize diff churn on updates. [documentation style guide]: https://github.com/kubernetes/community/blob/master/contributors/guide/style-guide.md --> This design proposal suggests adding a field AllowDisruptionByPriorityGreaterThanOrEqual in the PriorityClass API to explicitly indicate that PodDisruptionBudget of the pods corresponding to this priorty class can only be violated by pods with the priority value greater than or equal to the value of AllowDisruptionByPriorityGreaterThanOrEqual during the scheduler preemption process, this proposal allows cluster administrators to define PriorityClasses that restrict PDB violations during preemption to satisfy the needs for high availability of services during scheduler preemption due to some reasons such as high availability of services(https://github.com/kubernetes/kubernetes/issues/91492#issuecomment-1029484252).
Facts
- Authors
- @denkensk
- PRR approvers
- @wojtek-talpha
- Tracking issue
- #3280(opens GitHub in a new tab) closednot_plannedclosed 2024-06-19 23:31 UTCsig/schedulingstage/alphalifecycle/rotten
- Milestones
- alpha v1.27
- Feature gates
- DisruptionPolicyInPriorityClass
- Created / last updated
- 2023-01-17 / none