AKS creating a user node pool in a different managed subnet
Is it possible to create a new user node pool on a different subnet?
No, it is not possible. The option not available in the Azure portal. When using az cli, you will bump into the following error.
I tried running the following command:
az aks nodepool add --resource-group myawayrg --cluster-name nyawaydevcluster --name myNodePool --node-count 1 --vnet-subnet-id /subscriptions/mysubscription/resourceGroups/MC_cluster-resource-group/providers/Microsoft.Network/virtualNetworks/aks-vnet-94709794/subnets/aks-subet-2
And the error i get is this
https://learn.microsoft.com/en-us/answers/questions/1295498/resize-aks-managed-subnet
Comments