are you not able to have two agents listening for flows on the same computer, with different labels? I have a docker agent and a local agent, all of a sudden getting this error:
Copy code
Flow run 478adfa1-5f4f-4dec-a121-a2443bc0a253 has a `run_config` of type `LocalRun`, only `DockerRun` is supported
I had registered the flow and previously used the flow on LocalRun, now all of a sudden it's failing but it was working a few hours ago?
k
Kevin Kho
07/08/2021, 12:31 AM
You should be able to. Are you sure that the right agent is picking up the Flow? You can check the Agent screen and see what flow was picked up by the agent.
m
Marko Herkaliuk
07/08/2021, 8:59 AM
docs:
Copy code
RunConfig objects define where and how a flow run should be executed. Each RunConfig type has a corresponding Prefect Agent (i.e. LocalRun pairs with a Local Agent, DockerRun pairs with a Docker Agent, ...).
You use different labels for Flows?
j
Joseph Loss
07/08/2021, 1:56 PM
Think I got it, thanks guys.
So from what I understand now, an agent with multiple labels will pick up any flow that has ONE of those labels?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.