Hello flyte team. I have a question regarding using persistent volumes (PVs) and persistent volume claims (PVCs) with flyte tasks and workflows. More specifically, I’m interested in using an AWS
efs
volume in my
eks
cluster as a shared mount for
ReadWriteMany
. I have looked at
this example and see the
V1Volume
being passed into the pod spec. I’m looking through
these docs and see that you can create a
V1Volume
from a
persistent_volume_claim
. So in theory, I can just create a PV and PVC in my cluster, include them in my pod spec, and attach the spec to a flyte task. But I noticed that PVCs are namespace specific and flyte uses the
project-domain
namespace for tasks/workflows that are executing. Two questions.
1. Are PVCs the right solution here and if so, how can I dynamically create PVCs for my
project-domain
s? Is this something flyte could be configured to do for us or would we be responsible for ensuring any referenced PVCs and PVs exist.
2. What other options are available for mounting shared persistent volumes to my flyte tasks?