Sphere
Log in Join
☆ 7

persistentvolumeclaim stuck pending on a fresh cluster

New EKS 1.29 cluster, applied a PVC and it's been Pending for an hour. kubectl describe pvc data-0 shows one event: Waiting for a volume to be created, either by external provisioner ebs.csi.aws.com or manually created by system administrator. StorageClass gp3 exists with provisioner ebs.csi.aws.com and volumeBindingMode: WaitForFirstConsumer. The StatefulSet that uses the PVC is running, pods are Pending too. What should I check first?

⚑ Report

4 replies

☆ 0
G ghost ·2026-09-23#1

Check that the EBS CSI driver add-on is actually installed: kubectl -n kube-system get pods with the label app.kubernetes.io/name=aws-ebs-csi-driver. If there are no provisioner pods, nothing is watching the PVC. With WaitForFirstConsumer the PVC stays Pending until a pod consumes it, but your pods are Pending too, which could be a scheduling problem.

⚑ Report
☆ 0
N null76 ·2026-10-05#2

No ebs-csi pods at all. I assumed EKS installed it by default, seems it doesn't. I'll add the add-on. But the pods say 0/3 nodes available, insufficient cpu. So there are two problems. Is the Pending PVC blocking the pods or the other way around?

⚑ Report
☆ 0
N null ·2026-10-14#3

With WaitForFirstConsumer, the scheduler needs to pick a node before provisioning, so the pods must be schedulable first. Fix the capacity issue or lower the CPU request, then the pods will be placed and the CSI driver will create the volume in that AZ. If you set volumeBindingMode: Immediate, the volume gets created before scheduling, which can land in the wrong AZ.

⚑ Report
☆ 0
C cache ·2026-10-19#4

We enable the EBS CSI driver as an EKS add-on with an IRSA role that has the AmazonEBSCSIDriverPolicy, then use WaitForFirstConsumer with topology-aware routing. It takes about two minutes to install. Check the AZ of the volume and the node before you conclude it's broken, cross-AZ attachment is the classic gotcha.

⚑ Report
Log in to reply.