You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Troubleshoot no K8s versions or VM sizes listed when you create an AKS Arc cluster
3
+
description: Learn how to troubleshoot no K8s versions or VM sizes listed 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 K8s versions or VM sizes listed when you create an AKS Arc cluster
13
+
14
+
The **kubernetesVersions/default** or the **skus/default** resource in Azure is not yet created, or was deleted for some reason. This scenario can happen in older releases when the default resource was not created as a part of the deployment.
# Get the kubernetes version or the VM sizes using CLI (it automatically creates the **kubernetesVersions/default** or the **skus/default** azure resource).
24
+
25
+
az aksarc get-versions --custom-location $cl_id
26
+
az aksarc vmsize list --custom-location $cl_id
27
+
```
28
+
29
+
## Validation
30
+
31
+
Verify that the portal displays the correct list of supported K8s versions and VM sizes. See [this list of supported K8s versions](aks-whats-new-23h2.md#release-2408) for each Azure Stack HCI release.
32
+
33
+
## Next steps
34
+
35
+
[Known issues in AKS enabled by Azure Arc](aks-known-issues.md)
title: Troubleshoot deleted cluster still visible in portal
3
+
description: Learn how to troubleshoot deleted cluster still visible in portal, shows "Not found."
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
+
# Deleted cluster still visible in portal, shows "Not found"
13
+
14
+
A provisioned cluster that you deleted is still visible in the **Overview** blade on the Azure portal. Selecting the resource shows a **Not found** message. This error happens because occasionally, the cluster delete command fails to fully remove a resource. While it might delete the child **provisionedClusterInstance** resource, the parent **connectedCluster** resource often remains, making it still visible in the portal.
15
+
16
+
## Verify
17
+
18
+
- Get the provisioned cluster instance resource and verify that it doesn't exist:
19
+
20
+
```azurecli
21
+
az aksarc show -g <resource_group> -n <cluster_name>
22
+
```
23
+
24
+
- Get the connected cluster resource and verify that it exists:
25
+
26
+
```azurecli
27
+
az connectedk8s show -g <resource_group> -n <cluster_name>
28
+
```
29
+
30
+
## Workaround
31
+
32
+
Run the following command:
33
+
34
+
```azurecli
35
+
# Replace the following values appropriately
36
+
37
+
$subscription = <subscription_id>
38
+
$resource_group = <resource_group_name>
39
+
$cluster_name = <cluster_name>
40
+
41
+
az aksarc delete -g <resource_group> -n <cluster_name>
42
+
```
43
+
44
+
This command deletes the parent connected cluster resource as well.
45
+
46
+
## Validation
47
+
48
+
Run the `az connectedk8s show -g <resource_group> -n <cluster_name>` command to verify that it returns "Not found," or verify that the portal doesn't list the connected cluster resource anymore.
49
+
50
+
## Next steps
51
+
52
+
[Known issues in AKS enabled by Azure Arc](aks-known-issues.md)
0 commit comments