mirror of
https://github.com/moby/moby.git
synced 2026-08-08 00:52:17 +00:00
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:
@@ -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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user