docker node update --availability drain worker1

Category: Docker

docker node update --availability drain worker1

Drain a node (stop scheduling new tasks on it, migrate existing ones)

Drains a node: stops scheduling new tasks on it and migrates existing ones to other nodes. Used before maintenance.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.