Hi, I’m wondering if there is any way to change labels of the running container on runtime without changing state of the container. (I could change flow’s labels on the UI server though)
I couldn’t see any buttons on UI server or any cli commands for it.
The agent is run with command prefect docker start
Thank you for your answer in advance.
The agent and run config’s labels are static, so changing the labels the agent should poll for would require restarting an agent.
This is more flexible in Prefect 2.6 with dynamic pattern matching:
https://medium.com/the-prefect-blog/prefect-2-6-adds-configurable-results-dynamic-work-queue-patterns-and-custom-failure-handling-209cff4f71b6
Note that Prefect 2 is a different product than Prefect 1, here is docs page: docs.prefect.io
1 Like