atlassian / escalator

Escalator is a batch or job optimized horizontal autoscaler for Kubernetes
Apache License 2.0
646 stars 58 forks source link

Implement Force Removal Taint Logic #246

Open jackcasey-visier opened 4 days ago

jackcasey-visier commented 4 days ago

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!