scale_deployment
Scale a Kubernetes deployment to a target replica count in a specific namespace. Use dry-run mode to simulate the action before applying changes.
Instructions
Scales replicas for a deployment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, simulates the action without making changes | |
| cluster | No | Target cluster name (default: 'default') | |
| replicas | Yes | The new replica count | |
| namespace | Yes | The Kubernetes namespace | |
| deploymentName | Yes | The name of the deployment |