CmdID

CmdID / az / az aks

az aks upgrade

Upgrade a managed Kubernetes cluster to a newer version. Azure CLI reference

11 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

11 in the Azure CLI reference
--control-plane-onlyUpgrade the cluster control plane only.
--disable-force-upgradeDisable forceUpgrade cluster upgrade settings override.
--enable-force-upgradeEnable forceUpgrade cluster upgrade settings override.
--if-matchThe value provided will be compared to the ETag of the managed cluster, if it matches the operation will proceed.
--if-none-matchSet to '*' to allow a new cluster to be created, but to prevent updating an existing cluster.
--k8s-support-planChoose from "KubernetesOfficial" or "AKSLongTermSupport", with "AKSLongTermSupport" you get 1 extra year of CVE patchs.
--kubernetes-version, -kVersion of Kubernetes to upgrade the cluster to, such as "1.16.9".
--node-image-onlyOnly upgrade node image for agent pools.
--tierSpecify SKU tier for managed clusters.
--upgrade-override-untilUntil when the cluster upgradeSettings overrides are effective.
--yes, -yDo not prompt for confirmation.