capabilities.work

Upgrade Cluster Control Plane

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

Recipe · 3 steps

Upgrade Cluster Control Plane

with Azure Kubernetes Service · IT Infrastructure Management

Upgrade an AKS cluster to a target Kubernetes version and wait for completion.

  1. Read the cluster upgrade profile to confirm the current control-plane version and the upgrades it offers before applying the target version.
  2. Submit a create-or-update setting the target kubernetesVersion under the ARM properties object. A 200 indicates the upgrade request was accepted.
  3. Read the cluster and inspect provisioningState. While the cluster 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.
  • targetKubernetesVersion: The Kubernetes version to upgrade the control plane to.
  • apiVersion: The AKS REST API version to use.
  • location: The Azure region of the cluster (required on create-or-update).
  • accessToken: An Azure AD bearer token with user_impersonation scope.
For your developer

Arazzo workflow microsoft-azure-kubernetes-service:upgrade-cluster-control-plane, 3 operations: ManagedClusters_GetUpgradeProfile → ManagedClusters_CreateOrUpdate → ManagedClusters_Get. Specs on APIs.io.