service_scale
Scale a Docker Swarm service to a desired number of replicas. Specify the service name or ID and the replica count.
Instructions
Scale a swarm service to a number of replicas.
args: id_or_name - The service id or name replicas - The desired number of replicas returns: bool - True after scaling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replicas | Yes | ||
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |