-
Notifications
You must be signed in to change notification settings - Fork 60
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
Implement Force Removal Taint Logic #246
Implement Force Removal Taint Logic #246
Conversation
Thank you for contributing this @jackcasey-visier! Overall approach looks good to me - would be good to see the docs and unit tests explicitly testing this new functionality implemented. I'm keen to test this out internally |
Agreed! I'll add new tests in the next day or two. So far I've just patched the existing tests with new changes implemented :) |
@awprice I believe we have the logic covered by unit tests and I've added a cheeky docs update :) Please let me know what you think! Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Awesome work for a first contribution
@awprice Amazing, thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Awesome first contribution. Especially for not being a Go shop!
I think I'm happy to merge, then we can test internally before we cut a git release for a new minor version.
@jackcasey-visier If you're keen on using your change before we've cut a release, you can grab the latest build of master, including your change here - https://github.com/atlassian/escalator/pkgs/container/escalator/280253350?tag=650dda7 |
Cheers, thanks again @awprice! Come have a 🍻 if you're ever in Vancouver, BC :) |
closes #245
Summary
This PR is a WIP, TODOs:
Opening in progress to ensure maintainers are happy with the direction and patterns implemented #201
These changes implement a new taint:
atlassian.com/escalator-force
Nodes marked with this taint will be removed as soon as all non daemonset pods are completed. This is checked during the Escalator loop
In the current design, this taint is not expected to be added by Escalator to any nodes. The expected usage is for an external system or administrator to implement the taint, and have Escalator perform the safe scale down.
Thank you!