Updated Azure Function App – AKS Advanced Networking IP address calculation

Just a short information about the update I have done for the Azure Function App doing the AKS Advanced Networking IP address calculation (Azure CNI).

Since I have written the Azure Function App, they have been some changes what limits are supported for AKS using Azure CNI networking.

  • Minimum pods per node: 30
  • Maximum pods per node: 250
  • Maximum nodes per cluster (only with multiple node pools and VMSS): 400

-> https://docs.microsoft.com/en-us/azure/aks/configure-azure-cni#maximum-pods-per-node
-> https://docs.microsoft.com/en-us/azure/aks/quotas-skus-regions#service-quotas-and-limits
-> https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#limitations

All these changes are now implemented in the Function App. When you entering a value for pods per node lower than 30 the Function App ignores the provided value and sets it to 30 instead.

The Function App is reachable under the API endpoint https://akscnicalc.azurewebsites.net/api/akscnicalc.

Instructions on how to use the API endpoint are provided in the following blog post.

-> https://www.danielstechblog.io/azure-functions-azure-kubernetes-service-advanced-networking-ip-address-calculation/

You can find the code of the Azure Function App on my GitHub repository.

-> https://github.com/neumanndaniel/serverless/tree/master/AKS-CNI-Calc

Facebooktwittergoogle_pluslinkedinmail