https://prefect.io logo
Title
t

Thomas Fredriksen

09/28/2022, 11:22 AM
Hi there. I was wondering about the significance of agents in Orion. In Prefect 1 we use agents for different flow-run configurations, in particular resource availability. We created five agents:
agent-default
,
agent-small
,
agent-medium
,
agent-large
and
agent-huge
, each with different amounts of available RAM and CPU. Now that we with Orion can set
KubernetesJob
-infrastructure blocks in the
Deployment
-object, having different agents or queues for the different resource tiers no longer seems necessary. Does anyone know of examples where agents/queues have been used explicitly? I noticed for examples the documentation mention agent queue priorities
✅ 1
b

Bianca Hoch

09/28/2022, 2:05 PM
Hi Thomas, here is an article that may help answer some of your questions. A key change that distinguishes agents in 1.0 from work-queues/agents in 2.0: • In Prefect 1.0, agents are required to see the flow run history in the UI. • In Prefect 2.0, agents and work queues are only required if you want to trigger flows via UI or API.
t

Thomas Fredriksen

09/29/2022, 11:33 AM
Cool! Thank you for clearing that up 🙂
✨ 1