Closed
Description
When the ASG scales down the node should be drained and not just terminated (killing pods / not respecting poddisruptionbudget)
Either via "Amazon EC2 Auto Scaling Lifecycle Hooks" (up to 60 min) or with a termination script https://github.com/miglen/aws/blob/master/ec2/run-script-on-ec2-instance-termination.md (2 min max, so will be tight)
Flow could be Scale-Down -> SQS -> Drainer or Scale-Down -> SQS -> Node status -> https://github.com/planetlabs/draino
We might be able to contribute this, but need some "yes that's a good idea" / "yes we want this" first :)