oc_scale
Scale any deployment, deploymentconfig, replicaset, or statefulset to the specified number of pod replicas in an OpenShift cluster.
Instructions
Scale the number of pods in a deployment, deploymentconfig, replicaset, or statefulset 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>",
"replicas": "<replicas>"
},
"name": "oc_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the resource to scale | |
| context | No | OpenShift context to use (optional) | |
| replicas | Yes | Number of replicas to scale to | |
| namespace | No | OpenShift namespace/project | default |
| resourceType | No | Resource type to scale (deployment, deploymentconfig, replicaset, statefulset) | deployment |