-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Centralize Node Cordon & Drain #994
Comments
The main impediment to this today is the lack of remote node references. It'll work for self-managed clusters, but if a separate management cluster is used it will not work today. |
Remote node ref issue: #520 |
/assign @michaelgugino |
/active |
@michaelgugino FYI it's |
/lifecycle active |
There was a #cluster-api Kubernetes slack thread on this topic on 09/24/19-09/25/19. Quoting myself here:
Moving drain server-side is in progress upstream: kubernetes/kubernetes#25625. There is a Node Maintenance Controller KEP in progress right now: kubernetes/enhancements#1080. |
/kind feature
Describe the solution you'd like
Currently, provider Actuators may (or may not) implement Node cordon & drain before delete. We should do this in the machine-controller.
Anything else you would like to add:
To be provider neutral, we may need to add an extension to the Actuator interface such as "preDrain()" that allows a provider to do things like label/annotation VMs (such as in an auto scale group) or similar action.
Here's how OpenShift is doing it today: https://github.com/openshift/cluster-api/blob/openshift-4.0-cluster-api-0.0.0-alpha.4/pkg/controller/machine/controller.go#L195
The text was updated successfully, but these errors were encountered: