Rajvir Jhawar

07/03/2022, 11:36 PM
I think prefect 2.0 docs are off, there is line the about work-queues and agents section that states this: “You must start an agent within the environment in which it will execute flow runs.” This statement is a little off and should come with note stating the agent doesn't necessarily have to be running in the same execution environment as the flow. For instance you can have an agent running in a VM connected to a k8 cluster using kubectl and run k8 jobs that way.
💯 1
🙌 1
✅ 2

Anna Geller

07/04/2022, 11:31 AM
That's a really good point, thanks so much for reporting that. I think it should be: "Your agent will deploy flow runs to the infrastructure specified by a flow runner configuration." cc @terrence @Marvin open "Fix the agent configuration docs to make it clear how the flow run gets deployed and executed"


07/05/2022, 12:21 AM
Thanks that is a good correction
🙌 1