-
Notifications
You must be signed in to change notification settings - Fork 0
[decomission-controller] switch to maintenance-operator #206
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
base: main
Are you sure you want to change the base?
Conversation
this switches the decomissioning-controller to use the terminating state of maintenance spec field to decomission the node. Also, the maintenance-operator will take care of removing the finalizer - thus removing the need to access nodes at all.
2f5551c to
c732bd9
Compare
Merging this branch changes the coverage (1 decrease, 1 increase)
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
|
But you removed the finalizer completely. Maybe I am missing that part, but how do we ensure now that the service has been removed, and the resources cleared out of placement? I pulled out the refactoring of the aggregate functions into #211. |
the finalizer is removed by the maintenance-operator, see here: |
|
Yes, so the finalizer is removed when the host is empty, not after the decomissioning controller has done its job yet. |
no, the host is empty if the decomission is done in case of maintenance = termination |
Should only be merged if all nodes are provisioned with the correct maintenance-profile.
this switches the decomissioning-controller to use the terminating state
of maintenance spec field to decomission the node. Also, the
maintenance-operator will take care of removing the finalizer - thus
removing the need to access nodes at all.