Pods with EBS volumes stay Pending with `0/6 nodes are available: 6 node(s) exceed max volume count`.
AdvancedTroubleshootingStorage and volumes
Answer
Likely causes → Each instance type has a limit on attached EBS volumes (shared with ENIs on Nitro instances, often 25–28 in total). Dense stateful Pods per node hit it.
Diagnose →
kubectl get csinode -o custom-columns=NAME:.metadata.name,MAX:.spec.drivers[0].allocatable.count
kubectl get volumeattachments -o json | jq -r '.items[].spec.nodeName' | sort | uniq -c
Fix → Add nodes or use instance types with more attachment slots; spread stateful Pods with topology spread constraints.
Prevent → Plan stateful node pools for volume count, not just CPU and memory; let Karpenter/autoscaler see volume limits.
More on Storage and volumes
A PVC is `Pending` with `no persistent volumes available for this claim and no storage class is set`.BeginnerA PVC sits `Pending` with event `waiting for first consumer to be created before binding`. Is something broken?BeginnerA PVC is stuck with `waiting for a volume to be created, either by external provisioner "ebs.csi.aws.com" or manually created by system administrator`.IntermediateA Pod is stuck `ContainerCreating` with `Multi-Attach error for volume "pvc-3f1c..." Volume is already exclusively attached to one node and can't be attached to another`.IntermediateA Deployment with one replica and an RWO PVC gets `Multi-Attach error` on every rollout.BeginnerVolume attach fails with `AttachVolume.Attach failed for volume "pvc-..." : rpc error: code = Internal desc = Could not attach volume ... UnauthorizedOperation: You are not authorized to perform this operation`.Intermediate