Maciej
02/03/2023, 9:02 PMTimo Vink
02/03/2023, 9:21 PM@flow
which includes code+dependencies, and creating a separate Deployment
for each, using a KubernetesJob
for the infrastructure. This way each flow has isolated code dependencies and can set its own resource requirements.
You can then use run_deployment
(docs) from one flow to start another flow as a subflow using that infrastructure configuration.Pod
when deployed to k8s), making sure logs are showing in a centralized place, etc.Maciej
02/03/2023, 11:05 PMTimo Vink
02/03/2023, 11:35 PMtimeout
parameter. By default the parent flow will wait for the subflow, but if you set timeout=0
it returns immediately after kicking off the subflow run.Maciej
02/04/2023, 12:48 AM