<@ULVA73B9P>, can I limit resource of each flow in...
# ask-marvin
n
@Marvin, can I limit resource of each flow in k8s workpool
m
So, you want to keep your flows under control in Kubernetes, huh? Do you know which version of Prefect you're using? This'll help me dig up the right info for you.
n
@Marvin, yes, I am using Prefect 3.0
m
Alright, here's the scoop on limiting resources for each flow in a Kubernetes work pool with Prefect 3.0: 1. Concurrency Limits: You can set concurrency limits for flow runs at the work pool and/or work queue level. This is configured through the Prefect CLI, API, or UI. - CLI commands such as
prefect concurrency-limit create
are used to set these limits. 2. Viewing and Managing Work Pools: You can manage work pools, including viewing and editing their configurations, using the Prefect UI or CLI. For instance, you can list all available pools with
prefect work-pool ls
. 3. Infrastructure Settings: You might need to delve into your Kubernetes configurations to specify the resource limits directly for your pods, which might not be described in Prefect's documentation but is essential for managing computational resources directly. You can find more detailed information in the Prefect docs here: - Concurrency Limits - Work Pools No specific issues were found in GitHub regarding limiting resources in K8s work pools. Hope this helps keep your resources in check!