Skip to content

Commit 79e1dc7

Browse files
committed
Tweaks
1 parent 67b3d1f commit 79e1dc7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

AKS-Arc/tsg-upgrade-issues.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This article describes how to fix an issue in which your Azure Kubernetes Servic
1515

1616
## Symptoms
1717

18-
When you try to upgrade an AKS Arc cluster, you notice that the **Current state** property of the cluster remains in the **Upgrading** state.
18+
When you try to upgrade an AKS Arc cluster, you notice that the `currentState` property of the cluster remains in the **Upgrading** state.
1919

2020
```azurecli
2121
az aksarc upgrade --name "cluster-name" --resource-group "rg-name"
@@ -49,14 +49,14 @@ Upgrading the AKSArc cluster. This operation might take a while...
4949
## Cause
5050

5151
- The root cause is a recent change introduced in Azure Local version 2503. Under certain conditions, if there are transient or intermittent failures during the Kubernetes upgrade process, they're not correctly detected or recovered from. This can cause the cluster state to remain in the **Upgrading** state.
52-
- You see this issue if the AKS Arc extension on your custom location - the `hybridaksextension` extension version is 2.1.211 or 2.1.223. You can run the following command to check the extension version on your cluster:
52+
- You see this issue if the AKS Arc custom location extension `hybridaksextension` version is 2.1.211 or 2.1.223. You can run the following command to check the extension version on your cluster:
5353

54-
```azurecli
55-
az login --use-device-code --tenant <Azure tenant ID>
56-
az account set -s <subscription ID>
57-
$res=get-archcimgmt
58-
az k8s-extension show -g $res.HybridaksExtension.resourceGroup -c $res.ResourceBridge.name --cluster-type appliances --name hybridaksextension
59-
```
54+
```azurecli
55+
az login --use-device-code --tenant <Azure tenant ID>
56+
az account set -s <subscription ID>
57+
$res=get-archcimgmt
58+
az k8s-extension show -g $res.HybridaksExtension.resourceGroup -c $res.ResourceBridge.name --cluster-type appliances --name hybridaksextension
59+
```
6060

6161
## Mitigation
6262

@@ -89,18 +89,18 @@ az aksarc update --enable-smb-driver -g <resource_group_name> -n <cluster_name>
8989
az aksarc update --enable-nfs-driver -g <resource_group_name> -n <cluster_name>
9090
```
9191

92-
Running the `aksarc update` command should resolve the issue and the `Current state` parameter of the cluster should now show as **Succeeded**. Once the status is updated, if you don't want to retain the drivers as enabled, you can revert this action by running the following commands:
92+
Running the `aksarc update` command should resolve the issue and the `currentState` property of the cluster should now show as **Succeeded**. Once the status is updated, if you don't want to retain the drivers as enabled, you can revert this action by running one of the following commands:
9393

9494
```azurecli
9595
az aksarc update --disable-smb-driver -g <resource_group_name> -n <cluster_name>
9696
az aksarc update --disable-nfs-driver -g <resource_group_name> -n <cluster_name>
9797
```
9898

99-
If both drivers are already enabled on your cluster, you can disable the one that is not in use. If you require both drivers to remain enabled, contact Microsoft Support for further assistance.
99+
If both drivers are already enabled on your cluster, you can disable the one that's not in use. If you require both drivers to remain enabled, contact Microsoft Support for further assistance.
100100

101101
## Verification
102102

103-
To confirm the K8s version upgrade is complete, run the following command and check that the `Current State` parameter in the JSON output is set to `Succeeded`.
103+
To confirm the K8s version upgrade is complete, run the following command and check that the `currentState` property in the JSON output is set to `Succeeded`.
104104

105105
```azurecli
106106
az aksarc show -g <resource_group> -n <cluster_name>

0 commit comments

Comments
 (0)