Hi, are there any plans for adding support for mounting volumes in flows executed on the Kubernetes cluster?
✅ 1
s
square-wire-39606
02/03/2023, 1:04 PM
can you help me with your use case?
p
plain-breakfast-55936
02/03/2023, 2:01 PM
I have metaflow deployed on on-prem kubernetes cluster. I also have nfs volume and I'd like to mount nfs share to the pod running metaflow task.
a
ancient-application-36103
02/03/2023, 5:03 PM
Got it. At some point in the near future, we would like to provide support for this use case. Meanwhile, can you work around by ensuring that the data in the nfs volume is available in the blog store that you have configured for your deployment?
b
bulky-afternoon-92433
05/11/2023, 1:46 PM
yesterday's release enables this use case: https://github.com/Netflix/metaflow/releases/tag/2.8.6
For the NFS shares, you would want to set up a PersistentVolumeClaim for the share on your Kubernetes cluster, and then simply mount this via the decorator (or with an environment variable if you want it mounted for all Kubernetes steps)