georgelza
Expert Member
if I kubectl get pvc -n <namespace> then it jsut shows the pv, and pending
Strangely think this is the problem... permissions, I found a doc thats about pv's and pvc's but it is trying to enable a different driver for EBS.
ye, aware of the EBS and az limitation, thanks.
When the pods are in pending state, have a look at the generated PVC using kubectl, and see why the volume is not being provisioned.
Strangely think this is the problem... permissions, I found a doc thats about pv's and pvc's but it is trying to enable a different driver for EBS.
relevant region in your AWS account to attach, check that the provisioner has the correct rights to allow this, if I remember correctly, this is not something that gets attached by default.
</quote>
ye, aware of the EBS and az limitation, thanks.
Also keep in mind if you are trying to build a multi-az setup with fault tolerance, EBS volumes are single AZ only and set to ReadWriteOnce inside the cluster, they will only be able to attach to a single node/pod at one time, so trying to provision multiple pods across multiple nodes with the same EBS PVC will not work and only one pod will start correctly and attach to the volume (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes)