Score:0

Can one pre-populate a directory (e.g., on EFS) for an EKS cluster?

pl flag

We want to run an interactive application on AWS that should be able to read and write a common workspace directory on a shared filesystem. Our approach so far was to use EFS for the shared data, and to use a PersistentVolumeClaim to reference it. However, the dynamically provisioned PersistentVolume will always create a new empty directory on EFS.

Is it possible to pre-populate an EFS directory and to set up an EKS cluster with persistent volumes accessing that directory?

It seems to be possible to do that with EBS, but then we could only mount that workspace into a single pod. We would like to have multiple pods access the same, pre-populated directory (but we're not limited to using EFS). Are we overlooking anything?

pl flag
I previously opened https://serverfault.com/questions/1080670/can-efs-claims-live-longer-than-the-kubernetes-cluster for this problem, but that question may have been weirdly phrased and focused on the PV claim lifetime.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.