Skip to content

Commit 74f14db

Browse files
Create tsg-check-vm-sku.md
1 parent 0d83168 commit 74f14db

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

AKS-Hybrid/tsg-check-vm-sku.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Troubleshoot no VM sizes listed on Azure portal
3+
description: Learn how to troubleshoot no VM sizes listed on Azure portal when you create an AKS Arc cluster
4+
ms.topic: troubleshooting
5+
author: sethmanheim
6+
ms.author: sethm
7+
ms.date: 10/02/2024
8+
ms.reviewer: sumsmith
9+
10+
---
11+
12+
# Troubleshoot no VM sizes listed on Azure portal when you create an AKS Arc cluster
13+
14+
When you try creating an AKS Arc cluster from Azure portal, you see that there are no VM sizes listed. This can happen if **skus/default** resource in Azure is not yet created, or was deleted for some reason. This scenario can happen in Azure Local releases 2408 or older, when the default resource was not created as a part of the Azure Local deployment.
15+
16+
## Workaround
17+
18+
Run the following command:
19+
20+
```azurecli
21+
$cl_id = "/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.ExtendedLocation/customLocations/<custom_location_name>"
22+
23+
# Get the VM sizes using CLI (it automatically creates the **skus/default** Azure resource).
24+
25+
az aksarc vmsize list --custom-location $cl_id
26+
```
27+
28+
## Validation
29+
30+
Verify that Azure portal now displays the correct list of VM sizes.
31+
32+
## Next steps
33+
34+
[Troubleshoot issues in AKS enabled by Azure Arc](aks-troubleshoot)

0 commit comments

Comments
 (0)