kubernetes azure nodes exceed max volume count

11/15/2019

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
azure-kubernetes
kubernetes
kubernetes-pvc

1 Answer

11/19/2019

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
Source: StackOverflow