Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to attach or mount volumes : MountVolume.SetUp failed rpc error: code = DeadlineExceeded desc = context deadline exceeded

I've followed the steps & replicated the same from the official doc of AWS EKS to mount a volume with EFS. But, facing the below error.

Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[persistent-storage kube-api-access-29fgm]: timed out waiting for the condition
MountVolume.SetUp failed for volume "efs-pv" : rpc error: code = DeadlineExceeded desc = context deadline exceeded

This is the link for the yaml files. I've been trying for many days. Any help to find out the error is much appreciated!!

like image 583
Naveen Avatar asked Dec 20 '25 17:12

Naveen


1 Answers

Verify that the security group associated with your EFS file system and worker nodes allows NFS traffic

Your AWS EFS Filesystem has security group. You need to make changes to security group to allow the pods to connect with EFS file system.

Reference Link GitHub

like image 75
Raghu Reddy Avatar answered Dec 23 '25 07:12

Raghu Reddy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!