Skip to content

Conversation

@HomayoonAlimohammadi
Copy link
Contributor

Overview

This PR will cordon and drain the node that is to be deleted (during a scaledown, etc.)
If a failure occurs, the node is uncordoned to prevent having unschedulable nodes that are not going to be deleted.
The draining process is retried until there's no other pod on the node that can be evicted/deleted.
Note that we can not retry pod eviction through retriggering the reconciliation, since each time a new machine can be selected for deletion.

@HomayoonAlimohammadi HomayoonAlimohammadi force-pushed the KU-4386/drain-node-on-removal branch 2 times, most recently from 45bbfdc to 9a99094 Compare October 21, 2025 17:24
@HomayoonAlimohammadi HomayoonAlimohammadi force-pushed the KU-4386/drain-node-on-removal branch from 076c257 to de306df Compare October 24, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant