https://prefect.io logo
Title
a

Ankit

01/27/2023, 7:06 AM
Hi everyone, asking again. Is there a way to pass pod memory/cpu limits/requests while building deployments using CLI?
p

Peyton Runyan

01/28/2023, 12:41 AM
For which infrastructure?
If the infrastructure block supports memory/cpu limits (like the Cloud Run Job block) then you can set them on the deployment using the
--override
option. See
prefect deployment build --help
for additional info
a

Ankit

01/28/2023, 5:14 AM
hey @Peyton Runyan thanks for your reply. Was asking for KubernetesJob. But I finally figured out how to do it with python object based deployment.
👍 1