scale-deployment
Adjust the number of replicas for a Kubernetes deployment to manage application capacity and resource allocation.
Instructions
Scale a Kubernetes 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": {
"deployment": "<deployment>",
"replicas": "<replicas>"
},
"name": "scale-deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment | Yes | The name of the deployment to scale | |
| namespace | No | The namespace of the deployment (optional, defaults to current context namespace) | |
| replicas | Yes | The number of replicas to scale to |