Shaoyi Zhang
10/06/2021, 5:38 PMflow.run_config = ECSRun(labels=['prod'],
image='xxxxxxxx',
env={"EXTRA_PIP_PACKAGES": "retry"}
)
I was expecting that although the Kubernetes agent has the label “prod”, prefect scheduler should still only route flow runs to the ECS agent. However, looks like that’s not the case. Error:
Flow run ad4bce7b-29cb-4e42-a8c3-eeb9a75f7999 has a `run_config` of type `ECSRun`, only `KubernetesRun` is supported
Kevin Kho
Kevin Kho
Marvin
10/06/2021, 5:42 PMShaoyi Zhang
10/06/2021, 6:54 PMKevin Kho