AKS upgrade with ARM template

Viktor Nyakas 1 Reputation point
2022-03-04T12:38:15.377+00:00

Hi,

Is there a way to upgrade only the AKS control plane from an ARM template?
If I change the "kubernetesVersion" property value in the template from 1.21.7 to 1.21.9, it will update all node pools and I don't see any option to specify the control plane only property. If you specify the "orchestratorVersion" in the agent pool profiles you will get an error: "OrchestratorVersion must be all specified or all unspecified. If all specified, they must be stay unchanged or the same with control plane."

Portal and az cli both support control plane only upgrades.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,898 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. risolis 8,701 Reputation points
    2022-03-06T18:16:19.383+00:00

    Hello @Viktor Nyakas

    You can read the following statement below:

    "The Azure platform manages the AKS control plane, and you only pay for the AKS nodes that run your applications. AKS is built on top of the open-source Azure Kubernetes Service Engine: aks-engine

    While you don't need to configure components (like a highly available etcd store) with this managed control plane, you can't access the control plane directly. Kubernetes control plane and node upgrades are orchestrated through the Azure CLI or Azure portal"

    I hope this answer can be helpful.

    0 comments No comments