Kubernetes · Arazzo Workflow
Kubernetes Scale a Deployment and Verify Replicas
Version 1.0.0
Read the current scale of a deployment, set a new replica count, and confirm the pods landed.
View Spec
View on GitHub
AutomationCloud-NativeCNCFContainersDeploymentOpen-SourceOrchestrationScalingArazzoWorkflows
Provider
Workflows
scale-deployment
Change a deployment's replica count via the scale subresource and verify.
Resolves the deployment, reads its current scale for a before value, replaces the scale with the desired replica count, and lists the pods matching the deployment's label to confirm the change took effect.
1
resolveDeployment
Confirm the deployment exists and capture its current status before changing the replica count.
2
readScale
Read the scale subresource to record the replica count the cluster currently considers desired, before this workflow changes it.
3
applyScale
Replace the scale subresource with the new desired replica count. The deployment controller adds or removes pods to converge on the new value.
4
verifyPods
List the pods carrying the deployment's label to observe the scaling result. Pods may still be Pending immediately after scaling up.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.