-
Notifications
You must be signed in to change notification settings - Fork 243
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
Nodes states do no change to cordon and removing during scaled down when drain on delete is enabled #5220
Comments
Given that we've restricted cordoning / draining state to the kube node list (cluster explorer / cluster / node page) those states should only be showing up there. I saw some interest behaviour when enabling
This behaviour seems correct, doesn't quite go through all the stages in the issue description but some may not be seen due to speed (deleting --> deleted --> removed). @anupama2501 Could the issue you're seeing be related to scaling down nodes that weren't recreated following the change to the machine pools |
Hi @richard-cox thank you for the detailed write up.
This is the expected behavior from this comment here rancher/rancher#35274 (comment)
Could you elaborate on I retried the scenario - I have enabled |
@anupama2501 I wondered if the original issue of the nodes not showing as cordoned might be due to
If you're seeing this working now though when setting drain on delete when the cluster is created ... then all is good. Also thanks for clarifying the expected behaviour on changing a deployment, very helpful. |
Closing as I see the expected behavior noted in this comment #5220 (comment) |
Setup
Rancher version: 2.6-head 8c785a1
Browser type & version: Chrome
Describe the bug
Nodes status should change from removing >> cordoned >> deleted when
drain on delete
option is enabled on the node driver pools. Nodes status changed from active >> deleted and the node is deleted in both cluster management page and the cluster explorer >> cluster >> nodes page.To Reproduce
Result
The state on the node changes to deleted from active and the node is deleted
Expected Result
From either cluster management page or explorer >> cluster >> nodes page:
The state on the node is expected to change from active >> removing >> cordoned >> deleted
Additional context
Related issue: rancher/rancher#36782
The text was updated successfully, but these errors were encountered: