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