<p>I wanted to install Kubeflow into the Azure, So I started off creating an Azure Kubernetes Cluster(AKS) with a <strong>single node(B4MS virtual machine)</strong>. During the installation, I didn't enable the <strong>virtual node pool</strong> option. After creating the AKS cluster, I ran the command "<code>$ kubectl describe node aks-agentpool-3376354-00000</code>" to check the specs. The allocatable number of <strong>Pods</strong> were <strong>110</strong> and I was able to install Kubeflow without any issues. However, sometime later I wanted an AKS Cluster with virtual node pool enabled so I could use GPUs for training. So I deleted the old Cluster and created a new AKS Cluster with the same B4MS virtual machine and with the virtual node pool option enabled. This time when I ran the same command as above to describe the node specs, the allocatable number of Pods were <strong>30</strong> and the kubeflow installation failed due to lack of pods to provision. </p>

<p>Can someone explain me why the number of allocatable Pods change when the virtual node option is enabled or disabled? How do I maintain the number of allocatable Pods as 110 while having the virtual node pool option enabled?
Thank you in advance!</p>

<p>Virtual Node Pool requires the usage of the Advance Networking configuration of AKS which brings in AZURE CNI network plugin. </p>

<p>The Default POD count per node on AKS when using AZURE CNI is 30 pods.</p>

<p><a href="https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni#maximum-pods-per-node" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni#maximum-pods-per-node</a></p>

<p>This is the main reason why you are now getting 30 MAX pods per node. </p>

<p>This can be updated to a bigger number when using the AZ CLI to provision your cluster. </p>

<p><a href="https://learn.microsoft.com/en-us/cli/azure/ext/aks-preview/aks?view=azure-cli-latest#ext-aks-preview-az-aks-create" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/cli/azure/ext/aks-preview/aks?view=azure-cli-latest#ext-aks-preview-az-aks-create</a></p>

<pre><code>--max-pods -m
The maximum number of pods deployable to a node.
</code></pre>
