7

I have kubernetes cluster of 4 nodes. according to this https://kubernetes.io/docs/concepts/storage/storage-limits/ azure should have limit of 16 pv per node.

Microsoft Azure Disk Storage    16

So I should have 64 volumes available. Although i can create only 16. Trying to create 17th gives me an error

0/4 nodes are available: 4 node(s) exceed max volume count.

What could be the reason of this?

rigby
  • 1,280
  • 3
  • 13
  • 21

2 Answers2

13

For this issue, the VM size you use is Standard E2s_v3, the max disk count for each VM is 4, so the most available disk count for your cluster which has 4 nodes is 16. So even if the max disk count limit is 64 for the Kubernetes cluster which has 4 nodes, but you cluster only can use 16 disks at most.

Then the solution is simple, use more nodes or choose another VM size which allows more disk count.

Charles Xu
  • 29,862
  • 2
  • 22
  • 39
1

Change from Azure Disk to Azure Files as the default Storage Class. If your applications can use Azure Files then you aren't limited by the Disks per Node

You can also set the storage class to Azure Files in your persistent volume claim