k8s_scale_statefulset
Scale a Kubernetes StatefulSet to adjust the number of pod replicas for managing application capacity and resource allocation in your cluster.
Instructions
Scale a StatefulSet to a specific 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": {
"name": "<name>",
"replicas": "<replicas>"
},
"name": "k8s_scale_statefulset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | StatefulSet name | |
| namespace | No | Namespace | |
| replicas | Yes | Number of replicas |