kubernetes-sigs / aws-efs-csi-driver

CSI Driver for Amazon EFS https://aws.amazon.com/efs/
Apache License 2.0
719 stars 554 forks source link

Region for cross-region mounting #1450

Open ruszu opened 2 months ago

ruszu commented 2 months ago

Is your feature request related to a problem? Please describe. I have VPC-1 in Virginia and VPC-2 in Mumbai. AWS EFS was created in Virginia. I would like to mount EFS from Virginia to the k8s pods in Mumbai EKS. According to the AWS doc, I need to set region in the efs-utils.conf in the nodes in Mumbai.

Describe the solution you'd like in detail As a workaround we use userdata script to modify conf file, but it would be better to do it by the helm chart.

mskanth972 commented 2 months ago

Hi @ruszu, we are already working on it internally. In EFS CSI Driver, we had a plan of implementing new mount option as region which can be specified in the Storage-class and PV file for Dynamic and Static Provisioning respectively and leverage the cross region. Will notify this issue with latest updates soon. PR: https://github.com/aws/efs-utils/pull/171/files