-
Notifications
You must be signed in to change notification settings - Fork 899
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
Add grace-eviction-controller to evict cluster workload #2319
Add grace-eviction-controller to evict cluster workload #2319
Conversation
eaf2047
to
6884594
Compare
6884594
to
2717199
Compare
Generally lgtm, only one suggestion, such as flag or controller name, I think |
Thanks, I agree with you. |
2717199
to
a643cc7
Compare
6bd00d6
to
15c714b
Compare
pkg/controllers/gracefuleviction/resource_binding_controller.go
Outdated
Show resolved
Hide resolved
pkg/controllers/gracefuleviction/resource_binding_controller.go
Outdated
Show resolved
Hide resolved
pkg/controllers/gracefuleviction/cluster_resourbinding_controller.go
Outdated
Show resolved
Hide resolved
pkg/controllers/gracefuleviction/resource_binding_controller.go
Outdated
Show resolved
Hide resolved
8e7db72
to
3d31a3b
Compare
3d31a3b
to
af25c54
Compare
/lgtm |
af25c54
to
8e78de2
Compare
8e78de2
to
4379e97
Compare
192d212
to
486c216
Compare
486c216
to
17f1aa3
Compare
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.
/lgtm
/approve
/hold |
Signed-off-by: changzhen <changzhen5@huawei.com>
17f1aa3
to
135efdb
Compare
/hold cancel |
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango 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 |
Signed-off-by: changzhen changzhen5@huawei.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
grace-eviction-period
flag forkarmada-controller-manager
to specifies the timeout period waiting for the grace-eviction-controller performs the final removal when the workload(resource) has been moved to the graceful eviction tasks.grace-eviction-controller
which performs the following two things:creationTimestamp
for task in the binding'sspec.gracefulEvictionTasks
.spec.gracefulEvictionTasks
.Which issue(s) this PR fixes:
part #2281
Special notes for your reviewer:
Does this PR introduce a user-facing change?: