Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created April 20, 2018 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artisticcheese/c1e5cbff06356c290fec02aca1f9eca0 to your computer and use it in GitHub Desktop.
Save artisticcheese/c1e5cbff06356c290fec02aca1f9eca0 to your computer and use it in GitHub Desktop.
PS C:\Users\cloudadmin> docker node update --availability drain swarmmanager1
swarmmanager1
PS C:\Users\cloudadmin> docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
iamctppujla19jing2j1jeyp2 swarmhost000000 Ready Active Leader
tz4kj2utkhra3e9tp3ooa5ks0 swarmhost000001 Ready Active Reachable
y1nrx7qu5mq0x9ydhdmjmpjgw * swarmmanager1 Ready Drain Reachable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment