https://flyte.org logo
#announcements
Title
# announcements
a

Ahmad Islam

04/29/2022, 7:12 PM
How to
map volumes
through flyte from a directory inside VM to a directory inside Container and vice versa.(Bind mount)
s

Samhita Alla

05/02/2022, 1:57 PM
cc: @Prafulla Mahindrakar
May I know your use case, @Ahmad Islam?
a

Ahmad Islam

05/02/2022, 2:08 PM
Yes, I have input data folders and input model folder present inside VM that are required as input to one of the container image for training. Also, output (trained model files) are required back to VM for further processing.
s

Samhita Alla

05/02/2022, 2:13 PM
Can you not send them as inputs to a Flyte workflow? Regarding the output files, you should be getting an accessible path, say if s3, you’d be getting an s3 uri.
p

Prafulla Mahindrakar

05/02/2022, 2:25 PM
AFAIK this is not something possible as your container would be orchestrated on a k8s cluster that can be running on any cloud or on prem. You can do such kind of workflow for your testing by using flyte sandbox environment on your VM which will have access to that file system Cleaner would be using s3 or gcs like storage for providing the data your tasks. and then having a task to download the results and use it for further processing.
107 Views