https://prefect.io logo
t

Tarek

07/28/2022, 11:21 AM
Hello Prefect, short question: When I register my flow I use
labels='prod'
however the registered flow also uses the id of the docker instance it is built into (See screenshot): Is there anyway to delete that, so that only the labels I give are used?
1
a

Anna Geller

07/28/2022, 11:37 AM
this is because it adds a hostname label
to delete that from the agent:
Copy code
prefect agent local start --no-hostname-label
and on the flow:
Copy code
flow = Flow("local-flow", storage=Local(add_default_labels=False))
t

Tarek

08/04/2022, 10:08 AM
Thanks!
🙌 1
6 Views