Scale replica set
k8s_scale_replica_setAdjust a Kubernetes ReplicaSet to a specified replica count in a namespace so workload capacity matches demand, optionally targeting a named multi-context pool.
Instructions
Scale a ReplicaSet to the 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": {
"name": "<name>",
"namespace": "<namespace>",
"replicas": "<replicas>"
},
"name": "k8s_scale_replica_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| replicas | Yes | ||
| namespace | Yes |