Docker Community Forums

Share and learn in the Docker community.

I'd like to execute a task before the worker node shuts down at scale-in by autoscale

Expected behavior

When WorkerNode enters the state of Terminate::Wait, I want to wait for a task that is being executed or wait until I execute an arbitrary script and put the node in a state where it can shut down.

Is there any way? Also, are you planning to provide that function?