Current situation
Instance refreshes have to be done manually, after manually draining and waiting for the workerpool to have no tasks running
Target
Automate workers' recycling
Expected behaviour
In order to be able to automate worker updates (or recycles), there should be a way to drain nodes from Terraform and wait for the pool to be fully drained. Having this, it could be known when it's safe to trigger a refresh on the ASG (AWS case) to create new instances.
Current situation
Instance refreshes have to be done manually, after manually draining and waiting for the workerpool to have no tasks running
Target
Automate workers' recycling
Expected behaviour
In order to be able to automate worker updates (or recycles), there should be a way to drain nodes from Terraform and wait for the pool to be fully drained. Having this, it could be known when it's safe to trigger a refresh on the ASG (AWS case) to create new instances.