Azure Kubernetes Service · Arazzo Workflow
Azure Kubernetes Service Scale Node Pool
Version 1.0.0
Read an agent pool, change its node count, and poll until the scale operation completes.
Provider
Workflows
scale-node-pool
Change the node count of an AKS agent pool and wait for the scale to finish.
Reads AgentPools_Get for the current count, applies AgentPools_CreateOrUpdate with the new count, then polls AgentPools_Get until provisioningState is Succeeded.
1
readNodePool
AgentPools_Get
Read the agent pool to capture its current node count and VM size before changing the count.
2
applyScale
AgentPools_CreateOrUpdate
Submit a create-or-update setting the new count under the ARM properties object. A 200 indicates the scale request was accepted.
3
pollNodePool
AgentPools_Get
Read the agent pool and inspect provisioningState. While it is still Scaling the flow loops back to this step; once it reports Succeeded the workflow ends.