<@ULVA73B9P> what is the difference in prefect 2.x...
# ask-marvin
g
@Marvin what is the difference in prefect 2.x between
prefect_gcp.workers.cloud_run
and
prefect_gcp.workers.cloud_run_v2
m
The
prefect_gcp.workers.cloud_run
and
prefect_gcp.workers.cloud_run_v2
modules in Prefect 2.x are involved with executing flow runs as Google Cloud Run jobs. 1.
prefect_gcp.workers.cloud_run
: - This module is used for executing flow runs as Cloud Run jobs. - You can create a Cloud Run work pool using the command
prefect work-pool create 'my-cloud-run-pool' --type cloud-run
. - The worker is started with
prefect worker start --pool 'my-cloud-run-pool'
. - It uses a default job body template for Cloud Run, which can be customized for advanced configurations. 2.
prefect_gcp.workers.cloud_run_v2
: - Unfortunately, specific details about
cloud_run_v2
were not directly found in the documentation. It is likely an updated or alternative version for handling Cloud Run jobs, possibly with different features or improvements over the original
cloud_run
. For more detailed information, you can explore the Prefect documentation regarding Cloud Run workers here.