kubectl_scale
Adjust the number of replicas for Kubernetes deployments, replicasets, or statefulsets to meet demand. Specify target replica count, namespace, and optional kubeconfig context.
Instructions
Scale a Kubernetes deployment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the deployment to scale | |
| context | No | Kubeconfig Context to use for the command (optional - defaults to null) | |
| replicas | Yes | Number of replicas to scale to | |
| namespace | No | Kubernetes namespace | default |
| resourceType | No | Resource type to scale (deployment, replicaset, statefulset) | deployment |