Skip to content

Commit be77857

Browse files
committed
addressing comments
1 parent ca034ce commit be77857

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

support/azure/azure-kubernetes/error-codes/AvailabilityZoneNotSupported

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,22 @@ Here's an example of the error message:
1818
> Preflight validation check for resource(s) for container service xxxx in resource group zzzz failed. Message: The zone(s) '1' for resource 'agentpoolName' is not supported.The supported zones for location 'xyz' are 'A', 'B'
1919

2020
## Prerequisites
21-
az rest command
21+
Access to [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/get-started-with-azure-cli?view=azure-cli-latest)
2222

2323
## Symptoms
2424

2525
An AKS cluster create fails in requested availability zones, and you receive a "AvailabilityZoneNotSupported" error message.
2626

2727
## Cause
2828

29-
The issue occurs if the requested sku is not available in any of the requested zones.
29+
The issue occurs if the requested SKU is not available in the requested zones or there is restriction on the subscription.
3030

3131
## Solution
3232

3333
you can use the following command to verify if sku is not available in requested zones
34+
az vm list-skus -l <location> --size <SKU>
35+
36+
or
3437

3538
`az rest --method get \
3639
--url "https://management.azure.com/subscriptions/<subscription>/providers/Microsoft.Compute/skus?%24filter=location+eq+%27<location>%27&api-version=2022-03-01" >> availableSkus.txt`

0 commit comments

Comments
 (0)