Draining nodes and rebalancing tasks

Commands

docker node ls
docker service ls
docker service ps --filter node=node2 demo_frontend
docker node update availability=drain node2
docker node ls
docker node update availability=active node2
docker update -f demo_frontend
docker service scale demo_frontend=13
docker service scale demo_frontend=10

Cluster setup

Operating a cluster