AKS
AKS copied to clipboard
When I added a new pool with 2 hosts and 30 IPs for each node, the validation process success and the deployment failed because there is no enough IPs.
Describe the bug AKS Cluster Version: 1.25.6. Network type (plugin) Azure CNI /24 Subnet (251 IP Addresses) Node Pools: agentpool Running 2 nodes, Max pods per node 110
When I added a new pool with 2 hosts and 30 IPs for each node, the validation process success and the deployment failed because there is no enough IPs.
The Validation process should fail as the desired configuration are not suitable due to vnet subnet size.
To Reproduce Steps to reproduce the behavior:
- Create default AKS Cluster Integrate with Vnet that contains /24 subnet
- Create a new Pool with 2 nodes, and 30 IPs
- Validation will succeed (while it should fail)
- Deployment will fail, the failure Error: Failed to add node pool 'windev' to Kubernetes service 'JNuamanAKSCluster'. Error: Pre-allocated IPs 255 exceeds IPs available 251 in Subnet Cidr 10.10.0.0/24, Subnet Name AKS. http://aka.ms/aks/insufficientsubnetsize
Expected behavior The validation should fail with error: Failed to add node pool 'windev' to Kubernetes service 'JNuamanAKSCluster'. Error: Pre-allocated IPs 255 exceeds IPs available 251 in Subnet Cidr 10.10.0.0/24, Subnet Name AKS. http://aka.ms/aks/insufficientsubnetsize
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- CLI Version latest
- Kubernetes version 1.25.6
- CLI Extension version latest
- Browser [e.g. chrome, safari] is applicable: chrome
Action required from @Azure/aks-pm
@miwithro This is a bug, the validation should fail because the process won't success.
Issue needing attention of @Azure/aks-leads
Issue needing attention of @Azure/aks-leads
Hi @JNuaman, how did you create your cluster in this case? When I tried to reproduce the issue from Azure portal, I can see the validation error as show in the screenshot below.
This issue will now be closed because it hasn't had any activity for 7 days after stale. JNuaman feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.