-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
The handler sometimes doesn't cordon any node #97
Comments
Is there any workaround for this bug? |
Manually removing the annotations. |
Just to be clear, that wouldn't redo the |
Seems like this bug was introduced in #42. Versions prior to v1.7.0 didn't have the I'll see if I can do something 🤔 |
@zaafar @someone-stole-my-name Hey folks, I think #117 fixed this, but I'd appreciate if you could both give it a try. As soon as https://github.com/TwiN/aws-eks-asg-rolling-update-handler/actions/runs/5172952729 finishes, it should be available with the |
sure, i am going to test it and get back to you. |
looks good to me. |
please whenever you get some time, make a release. |
Just released the fix in v1.8.1 |
Describe the bug
The
getRollingUpdateTimestampsFromNode(node)
conditions used throughout the code to check if a node should be cordoned or not have a flaw. If something or someone decides to stop the rolling update, and manually uncordon the nodes, the handler on next start will happily evict pods in that node without actually cordoning anything. It is specially problematic when using the eager cordoning feature, since it leads to an upgrade that can never end.What do you see?
No response
What do you expect to see?
No response
List the steps that must be taken to reproduce this issue
Version
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: