Skip to content

Commit 70ca670

Browse files
authored
update the cause
1 parent d02b76f commit 70ca670

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

support/azure/azure-kubernetes/error-codes/availabilityzonenotsupported-error.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,19 @@ An AKS cluster creation fails in specified availability zones and you receive an
2525

2626
The issue occurs because the requested SKU is unavailable in the specified zones or is restricted by the Azure subscription.
2727

28-
To determine the root cause, follow these steps:
28+
To determine the root cauese, perform one or two actions below:
2929

30-
1. Verify if the requested SKU isn't available in the specified zones:
30+
- To verify if the requested SKU is restricted by your subscription, run the following command:
3131

32-
```azurecli
33-
az vm list-skus -l <location> --size <SKU>
34-
```
35-
36-
> [!NOTE]
37-
> Replace `<SKU>` and `<locaiton>` accordingly.
38-
39-
2. Verify if the requested SKU is restricted by your subscription:
40-
41-
```azurecli
42-
az rest --method get \
43-
--url "https://management.azure.com/subscriptions/<subscription>/providers/Microsoft.Compute/skus?%24filter=location+eq+%27<location>%27&api-version=2022-03-01" >> availableSkus.txt
44-
```
32+
```azurecli
33+
az rest --method get \
34+
--url "https://management.azure.com/subscriptions/<subscription>/providers/Microsoft.Compute/skus?%24filter=location+eq+%27<location>%27&api-version=2022-03-01" >> availableSkus.txt
35+
```
4536
4637
> [!NOTE]
4738
> Replace `<subscription>` and `<locaiton>` accordingly.
4839
49-
3. Search for the requested SKU in the *availableSkus.txt* file. If you see the lines like the following, it indicates that your subscription doesn't have access to zones in the specified location:
40+
Then, search for the requested SKU in the *availableSkus.txt* file. If you see the lines like the following, it indicates that your subscription doesn't have access to zones in the specified location:
5041
5142
```output
5243
"restrictions": [
@@ -70,6 +61,15 @@ To determine the root cause, follow these steps:
7061
]
7162
```
7263
64+
- To verify if the requested SKU isn't available in the specified zones, run the following command:
65+
66+
```azurecli
67+
az vm list-skus -l <location> --size <SKU>
68+
```
69+
70+
> [!NOTE]
71+
> Replace `<SKU>` and `<locaiton>` accordingly.
72+
7373
## Solution: Request access to the specified zone
7474
7575
To resolve this issue, request access to the specified region or zone by following the [Azure region access request process](../../general/region-access-request-process.md).

0 commit comments

Comments
 (0)