Caleb
10/26/2024, 1:01 AMMarvin
10/26/2024, 1:01 AMrun_deployment
typically creates a new cloud run job for each subflow rather than running them in-process. This means that each subflow will be executed in its own isolated environment as a separate cloud run job, providing first-class observability within the Prefect UI and Prefect Cloud.
For in-depth customization and management of such deployments, it's possible to configure the base job template of your work pool, influencing how infrastructure is provisioned for these flow runs.
For more details on configuring Cloud Run workers and running nested flows, you can refer to the GCP Worker Guide and Writing Flows documentation.