|
1 | 1 | --- |
2 | 2 | title: Troubleshoot the SubnetIsFull error code |
3 | 3 | description: Learn how to troubleshoot the SubnetIsFull error when you try to scale an Azure Kubernetes Service (AKS) cluster. |
4 | | -ms.date: 11/20/2023 |
| 4 | +ms.date: 02/28/2025 |
5 | 5 | author: jotavar |
6 | 6 | ms.author: jotavar |
7 | 7 | editor: v-jsitser |
8 | | -ms.reviewer: rissing, chiragpa, v-leedennis |
| 8 | +ms.reviewer: rissing, chiragpa, addobres |
9 | 9 | ms.service: azure-kubernetes-service |
10 | 10 | #Customer intent: As an Azure Kubernetes user, I want to troubleshoot the SubnetIsFull error code so that I can successfully scale an Azure Kubernetes Service (AKS) cluster. |
11 | 11 | ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool) |
@@ -45,6 +45,17 @@ Trying to update a subnet's Classless Inter-Domain Routing (CIDR) address space |
45 | 45 |
|
46 | 46 | 4. Delete the original node pool by running the [az aks nodepool delete](/cli/azure/aks/nodepool#az-aks-nodepool-delete) command. |
47 | 47 |
|
| 48 | + |
| 49 | +## Best practices |
| 50 | + |
| 51 | +To avoid `SubnetIsFull` issues in Azure Kubernetes Service (AKS), follow best practices that are related to subnet sizing, IP address management, and node pool strategies. Here are some key recommendations: |
| 52 | + |
| 53 | +- Plan for Future Growth: When you create subnets, make sure that they're large enough to accommodate future growth. We recommend that you reserve more IP addresses than you currently need to avoid running out of space as the cluster scales. |
| 54 | +- Use Larger Subnet CIDR: If possible, use a larger subnet CIDR to provide more IP addresses. This strategy helps to accommodate more nodes and pods without running into IP exhaustion issues. |
| 55 | +- Monitor IP Usage: To identify potential issues before they become critical, regularly monitor the IP address usage within your subnets. Tools such as Azure Monitor can help track IP address consumption. |
| 56 | +- Optimize IP Allocation: Make sure that IP addresses are allocated efficiently. Avoid reserving IP addresses unnecessarily. To free up space, release any unused IP addresses. |
| 57 | +- Use multiple node pools: Consider using node pools that have different subnets to distribute the IP address load. This strategy can help mitigate the risk of running out of IP addresses in a single subnet. |
| 58 | + |
48 | 59 | ## More information |
49 | 60 |
|
50 | 61 | - [General troubleshooting of AKS cluster creation issues](troubleshoot-aks-cluster-creation-issues.md) |
|
0 commit comments