Skip to content

Commit a5151bf

Browse files
author
amsliu
committed
minor fix
1 parent 52cfde4 commit a5151bf

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

support/azure/azure-kubernetes/error-codes/aks-upgrade-blocked.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool
1313
## Prerequisites
1414

1515
This article requires Azure CLI version 2.67.0 or a later version.
16-
To find the version number, run `az --version`. If you have to install or
16+
To find the version number, run `az --version`. If you need to install or
1717
upgrade Azure CLI, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
1818

1919
For more detailed information about the upgrade process, see the "Upgrade an AKS cluster" section in
@@ -51,9 +51,7 @@ The upgrade is not allowed due to one or more of the following reasons:
5151

5252
- Skipping minor versions during upgrades (e.g., from 1.24.x to 1.26.x or 1.27.x) is not allowed unless the current version is unsupported.
5353

54-
- A control plane and node pool version skew (**NodePoolMcVersionIncompatible**) occurred when attempting to
55-
upgrade only the control plane while the nodepool version is too far behind causing a big gap such that the
56-
node pool version is more than three minor versions behind the control plane version.
54+
- A control plane and node pool version skew (**NodePoolMcVersionIncompatible**) occurred when attempting to upgrade only the control plane while the nodepool version is too far behind causing a big gap such that the node pool version is more than three minor versions behind the control plane version.
5755

5856
To understand more about these errors, you can refer to following articles:
5957

@@ -67,20 +65,19 @@ To understand more about these errors, you can refer to following articles:
6765
Run the following command to view the current Kubernetes version and supported upgrade targets:
6866

6967
```azurecli
70-
az aks get-upgrades --resource-group <RG> --name <ClusterName> --output table`
68+
az aks get-upgrades --resource-group <RG> --name <ClusterName> --output table
7169
```
7270

7371
If only newer versions such as 1.29.x are listed, and intermediate versions like 1.25.x, 1.26.x, or 1.27.x are missing, this indicates that
7472
those versions are deprecated in your region.
7573

7674
### Step 2: Attempt full upgrade (control plane and node pool together)
7775

78-
Due to the version skew policy (**control planes cannot be more than three minor versions ahead of node pools**),
76+
Due to the version skew policy (**control planes cannot be more than 3 minor versions ahead of node pools**),
7977
a separate control-plane-only upgrade may not be allowed. Instead, upgrade both the control plane and node pool together:
8078

8179
```azurecli
82-
az aks upgrade --resource-group <RG> --name <ClusterName>
83-
--kubernetes-version <available upgrade version> --yes
80+
az aks upgrade --resource-group <RG> --name <ClusterName> --kubernetes-version <available upgrade version> --yes
8481
```
8582

8683
This will ensure compliance with the version skew policy, use of a supported Kubernetes version and upgrade of both components in a

0 commit comments

Comments
 (0)