https://prefect.io logo
Title
d

Dylan

04/26/2022, 7:20 PM
Have a few questions on flow boilerplate and k8's templates
Some constraints: 1. We can’t pull code from Github during a flowRun 2. We don’t want to store flowRun results in a place like S3 since we plan on using prefect cloud What storage type and flow declaration should we use if we assume our flow-run docker image has all the source code in it needed to run? And is that doable with a k8's spec that references that image (full image of resolved dependencies and flow-run tasks, modules etc)
After discussing with our SRE we basically can’t go the approach we were going to of pulling the task code from GH when the flow kicks off
k

Kevin Kho

04/26/2022, 7:23 PM
Local storage using
stored_as_script=True
and
path=flow_path_in_container.py
and then it will look for the Flow relative to the image
d

Dylan

04/26/2022, 7:24 PM
Oh ok cool
k

Kevin Kho

04/26/2022, 7:24 PM
this is a good example
d

Dylan

04/26/2022, 8:16 PM
thanks