Govur University Logo
--> --> --> -->
...

Before performing maintenance on a Docker Swarm worker node, what command should be executed to gracefully prevent new tasks from being scheduled on it and move existing tasks elsewhere?



The command that should be executed before performing maintenance on a Docker Swarm worker node to gracefully prevent new tasks from being scheduled on it and move existing tasks elsewhere is `docker node update --availability drain <NODE_ID_OR_HOSTNAME>`. Docker Swarm is a native clustering and orchestration solution that allows you to manage a cluster of Docker engines called a Swarm, where services are deployed and scaled across multiple nodes. A worker node is a machine within this Swarm that runs the application containers, known as tasks, scheduled by the manager nodes. Maintenance refers to activities like op....

Log in to view the answer



Redundant Elements