Support node label update.

Signed-off-by: Dong Chen <dongluo.chen@docker.com>
(cherry picked from commit e1165cdfd1)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Dong Chen
2016-06-30 17:33:43 -07:00
committed by Tibor Vass
parent 71a8ee2f49
commit f3fea0ea88
6 changed files with 77 additions and 14 deletions

View File

@@ -20,6 +20,8 @@ Update a node
Options:
--availability string Availability of the node (active/pause/drain)
--help Print usage
--label-add value Add or update a node label (key=value) (default [])
--label-rm value Remove a node label if exists (default [])
--membership string Membership of the node (accepted/rejected)
--role string Role of the node (worker/manager)
```