fruit-bowl/environments/production/thirdparty/docker/tasks/node_update.json
2025-04-01 17:49:26 +00:00

27 lines
670 B
JSON

{
"description": "Update a node",
"input_method": "stdin",
"parameters": {
"availability": {
"description": "Availability of the node",
"type": "Optional[Enum['active', 'pause', 'drain']]"
},
"role": {
"description": "Role of the node",
"type": "Optional[Enum['manager', 'worker']]"
},
"label_add": {
"description": "Add or update a node label (key=value)",
"type": "Optional[Array]"
},
"label_rm": {
"description": "Remove a node label if exists.",
"type": "Optional[Array]"
},
"node": {
"description": "ID of the node in the swarm",
"type": "String[1]"
}
}
}