Say I want to start a second prefect agent (runnin...
# prefect-community
j
Say I want to start a second prefect agent (running prefect 2.0) so we can start developing some flows to run on prefect 2.0, but want all existing flows to continue running via the prefect 1.x agent. Is there a way to do that without needing to change the labels on our existing flows?
1
For example, is there a way to tell an agent "Here is a list of flows NOT to run"
Or is there a way to tell an agent "Only run a flow if it includes THIS_SPECIFIC_LABEL"?
m
Hey Jack the Infrastructure for Prefect 1 and Prefect 2 are totally separate, meaning an Agent running Prefect 2.x.x will only pick up flows from a Workqueue that's been configured either through Orion or Prefect Cloud 2, similarly an Agent running Prefect 1.x.x will only pick up flows registered for prefect 1's server or Cloud 1, Upgrade.prefect.io is a good place to start when you're just diving into Prefect 2 😄