capabilities.work

Upgrade Node Pool Image

A 3-step recipe with Azure Kubernetes Service. We can help you get access.

Recipe · 3 steps

Upgrade Node Pool Image

with Azure Kubernetes Service · IT Infrastructure Management

Upgrade an agent pool node image to the latest version and wait for completion.

  1. Read the agent pool upgrade profile to capture the latest available node image version before triggering the upgrade.
  2. Trigger the node image upgrade for the pool. AKS accepts the request asynchronously and returns 202 Accepted.
  3. Read the agent pool and inspect provisioningState. While it is still Upgrading the flow loops back to this step; once it reports Succeeded the workflow ends.
What you'll need to have ready
  • subscriptionId: The ID of the target subscription (valid UUID).
  • resourceGroupName: The name of the resource group.
  • resourceName: The name of the managed cluster.
  • agentPoolName: The name of the agent pool to upgrade.
  • apiVersion: The AKS REST API version to use.
  • accessToken: An Azure AD bearer token with user_impersonation scope.
For your developer

Arazzo workflow microsoft-azure-kubernetes-service:upgrade-node-image, 3 operations: AgentPools_GetUpgradeProfile → AgentPools_UpgradeNodeImageVersion → AgentPools_Get. Specs on APIs.io.