Leon Kozlowski
08/24/2021, 7:12 PMLeon Kozlowski
08/24/2021, 7:12 PMdev
and prod
label to serve both “environments”Leon Kozlowski
08/24/2021, 7:13 PMdev-xyz
and prod-xyz
to separate deployments, but when a flow is deployed to dev-xyz
the label dev
is used, and prod
for the otherKevin Kho
dev
and prod
since flow labels just need to be a subset of the agent labels.
Or is the main question how to assign dev
to the flow if it’s in the dev-xyz
project and prod
automatically if it’s in the prod-xyz
project?Leon Kozlowski
08/24/2021, 7:26 PMKevin Kho
Leon Kozlowski
08/24/2021, 7:36 PMLeon Kozlowski
08/24/2021, 7:37 PMKevin Kho
config.toml
files and you put secrets there, and then set prefect.config.user_config_path
to point to the corresponding config.toml
file for dev and prod. And then you can start 2 agents on the same machine with different env variables and secrets?Leon Kozlowski
08/24/2021, 7:43 PMLeon Kozlowski
08/24/2021, 7:44 PMLeon Kozlowski
08/24/2021, 7:51 PMKevin Kho
Kevin Kho
dev
agent and the prod
agent in different namespaces then they would pick up the appropriate flows?Leon Kozlowski
08/24/2021, 7:59 PMLeon Kozlowski
08/24/2021, 8:41 PMKevin Kho