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
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 |