2016-06-13 22:57:19 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "node update"
|
|
|
|
description = "The node update command description and usage"
|
|
|
|
keywords = ["resources, update, dynamically"]
|
2016-06-20 07:54:53 -04:00
|
|
|
advisory = "rc"
|
2016-06-13 22:57:19 -04:00
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
## update
|
|
|
|
|
|
|
|
Usage: docker node update [OPTIONS] Node
|
|
|
|
|
|
|
|
Update a node
|
|
|
|
|
2016-06-17 00:28:07 -04:00
|
|
|
Options:
|
|
|
|
--availability string Availability of the node (active/pause/drain)
|
|
|
|
--help Print usage
|
|
|
|
--membership string Membership of the node (accepted/rejected)
|
|
|
|
--role string Role of the node (worker/manager)
|
|
|
|
|
2016-06-13 22:57:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [node inspect](node_inspect.md)
|
|
|
|
* [node tasks](node_tasks.md)
|
|
|
|
* [node ls](node_ls.md)
|
|
|
|
* [node rm](node_rm.md)
|