-
Notifications
You must be signed in to change notification settings - Fork 891
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
[Proposal] Support for resource scheduling suspend and resume capabilities #5690
base: master
Are you sure you want to change the base?
[Proposal] Support for resource scheduling suspend and resume capabilities #5690
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #5690 +/- ##
==========================================
+ Coverage 46.50% 47.93% +1.43%
==========================================
Files 663 663
Lines 54740 54761 +21
==========================================
+ Hits 25456 26252 +796
+ Misses 27656 26801 -855
- Partials 1628 1708 +80
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
// SuspendScheduling controls whether scheduling should be suspended. | ||
// +optional | ||
SuspendScheduling *bool `json:"suspendScheduling,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe Scheduling
is enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! do u have any more user case can share to me? i mean do u need this feat? thank u again.
Should also add rb status condition just like #5317. |
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
4e3260e
to
e0ca35f
Compare
// Suspension declares the policy for suspending different aspects of propagation. | ||
// nil means no suspension. no default values. | ||
// +optional | ||
// Suspension *policyv1alpha1.Suspension `json:"suspension,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Suspension *policyv1alpha1.Suspension `json:"suspension,omitempty"` | |
Suspension *policyv1alpha1.Suspension `json:"suspension,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Signed-off-by: Monokaix <changxuzheng@huawei.com>
e0ca35f
to
ba71093
Compare
/assign |
What type of PR is this?
/kind design
/kind documentation
Which issue(s) this PR fixes:
Fixes #4937
Special notes for your reviewer:
Previous Proposal: #5118
Does this PR introduce a user-facing change?: