Hello, Is it this possible to set the infra_overri...
# prefect-cloud
j
Hello, Is it this possible to set the infra_override when running a Custom Run in prefect cloud? This was possible in prefect v1 cloud but cannot see the option in prefect v2. This was helpful to us when we want to run a different configuration, specifically different memory and cpu. This helps us determine the optimal configuration without redeploying the flow with only minimal changes.
k
If you're using workers and work pools, you can set infrastructure overrides in your
prefect.yaml
within the
work_pool
section of your deployment. There's an example in the docs for a deployment using a kubernetes work pool in which the default Prefect base image is overridden. https://docs.prefect.io/2.13.6/guides/deployment/kubernetes/#define-a-deployment