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
Copy file name to clipboardExpand all lines: support/azure/azure-kubernetes/create-upgrade-delete/cannot-scale-cluster-autoscaler-enabled-node-pool.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,10 +45,36 @@ Deleting the virtual machine scale set attached to the cluster causes the cluste
45
45
> [!NOTE]
46
46
> Modifying any resource under the node resource group in the AKS cluster is an unsupported action and will cause cluster operation failures. You can prevent changes from being made to the node resource group by [blocking users from modifying resources](/azure/aks/cluster-configuration#fully-managed-resource-group-preview) managed by the AKS cluster.
47
47
48
+
### Reconcile node pool
49
+
50
+
If the cluster virtual machine scale set is accidentally deleted, you can reconcile the node pool by using `az aks nodepool update`:
51
+
52
+
```bash
53
+
# Update Node Pool Configuration
54
+
az aks nodepool update --resource-group <resource-group-name> --cluster-name <cluster-name> --name <nodepool-name> --tags <tags> --node-taints <taints> --labels <labels>
55
+
56
+
# Verify the Update
57
+
az aks nodepool show --resource-group <resource-group-name> --cluster-name <cluster-name> --name <nodepool-name>
58
+
```
59
+
Monitor the node pool to make sure that it's functioning as expected and that all nodes are operational.
60
+
48
61
## Cause 2: Tags or any other properties were modified from the node resource group
49
62
50
63
You may receive scaling errors if you modify or delete Azure-created tags and other resource properties in the node resource group. For more information, see [Can I modify tags and other properties of the AKS resources in the node resource group?](/azure/aks/faq#can-i-modify-tags-and-other-properties-of-the-aks-resources-in-the-node-resource-group)
51
64
65
+
### Reconcile node resource group tags
66
+
67
+
Use the Azure CLI to make sure that the node resource group has the correct tags for AKS name and the AKS group name:
68
+
69
+
```bash
70
+
# Add or update tags for AKS name and AKS group name
71
+
az group update --name <node-resource-group-name> --set tags.AKS-Managed-Cluster-Name=<aks-managed-cluster-name> tags.AKS-Managed-Cluster-RG=<aks-managed-cluster-rg>
72
+
73
+
# Verify the tags
74
+
az group show --name <node-resource-group-name> --query "tags"
75
+
```
76
+
Monitor the resource group to make sure that the tags are correctly applied and that the resource group is functioning as expected.
77
+
52
78
## Cause 3: The cluster node resource group was deleted
53
79
54
80
Deleting the cluster node resource group causes issues when provisioning the infrastructure resources required by the cluster, which causes the cluster autoscaler to fail.
0 commit comments