-1

I use AKS to deploy the application services. I have used the VM size of Standard_D4a_v4 with 4vCPU and 16Gi Memory configuration for the worker nodes.

Max data disks specified for the above mentioned configuration is 8. I need to clarify that, if only 8 pvcs of azure disks provisioner can be mounted to the worker node or is that possible to mount more pvcs (>8) with azure file provisioner?

Soundarya
  • 153
  • 1
  • 2
  • 12

1 Answers1

1

• Since you are using a VM size of Standard_D4a_v4 with the said configuration of 4 vCPUs and 16GB of memory, the maximum number of data disks that can be created for this size are ‘8’ as for each VM vCPU, two data disks can be attached up to an absolute maximum of 64 disks per virtual machine. Also, I tested the above said in my environment also as below: - Maximum Data Disks

Also, after attaching the maximum number of data disks as above, I also tried to connect an Azure file share as a volume in a VM as below and I was able to successfully mount it and access it. Thus, though you cannot add more data disks to a VM according to the said limitations, but you can surely connect file shares successfully and access them as network volumes through azure file provisioner. Azure file share mounted

Please find the below links for more information: -

https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-use-disks-cli#azure-data-disks

https://learn.microsoft.com/en-us/azure/virtual-machines/dav4-dasv4-series#dav4-series

Kartik Bhiwapurkar
  • 4,550
  • 2
  • 4
  • 9
  • Thank you for the response. You have explained in terms of data disks attaching to the VM. Let me explain my doubt more in detail. Consider I have a kubernetes cluster in Azure with 2 worker nodes of type Standard_D4a_v4. I have few (say, 16) pods each with pvc created out of azure disks. According to the configuration, a worker node will mount upto 8 disks. So, each worker node will mount 8 pvcs. Now if I create the pvc with azurefileshare as provisioner, will that pvc be mounted on either of the nodes or not (as already 8 pvcs got attached to each worker node). – Soundarya Dec 21 '21 at 07:46
  • Yes, it surely will get mounted as a network file share. And since that is a node in AKS cluster makes no difference in its working other than availability and scalability than a VM of same size. The same is demonstrated above in my answer. – Kartik Bhiwapurkar Dec 21 '21 at 09:49