Scale deployment
scale_deploymentScale a deployment to a specified number of replicas.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"deployment_name": "<deployment_name>",
"replicas": "<replicas>",
"cluster_id": "<cluster_id>"
},
"name": "scale_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, preview the change without executing it. | |
| replicas | Yes | Target number of replicas (0-100). | |
| namespace | Yes | Kubernetes namespace where the deployment is located. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| deployment_name | Yes | Name of the deployment to scale. |