Scale Deployment
kubernetes.scale_deployment
ActionBusiness appsconnection required
Calls the Kubernetes API with the connection's credentials.
Set a deployment's replica count.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Kubernetes
- Secret shape
- a ServiceAccount token, or {"token": "…"}
- Config it needs
- base_url, namespace, insecure
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
name Deployment name. | string | Yes | — | — | — |
replicas Target replicas. | number | Yes | — | ≥ 0 | — |
namespace Overrides the connection's namespace. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
status | string | — |
{
"status": ""
}Related Kubernetes nodes
See Scale Deployment run in a workflow.
In a technical demo we add the Kubernetes connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.