Darragh
07/08/2020, 12:13 PMjosh
07/08/2020, 12:15 PMDarragh
07/08/2020, 12:17 PMjosh
07/08/2020, 12:20 PMDarragh
07/08/2020, 12:25 PMFargateTaskEnvironment.containerDefinitions
And I think I’ve figured out a reasonably dastardley way of accomplishing the comms as well - if I use 2 mounts, one to get a data mount from A to B, and then a second to get a script/commands mount from B to A, then I think I can get away with it…
Do you know are there any examples in the docs anywhere on more than 1 container being instantiated in the FargateTaskEnvironment
??
I’m also assuming that I then run these flows using Docker agent rather than Fargate, as the flow will be providing it’s own Fargate env?josh
07/08/2020, 12:32 PMconatinerDefinitions
takes a list of dicts so it should be straightforward. There is an example using the KubernetesJobEnvironment with two containers but it’s pretty different of course due to being k8s.
You could use to Docker agent if you want to run the initial prefect job as a docker container on a machine or using Fargate agent it also an option (it would just launch the init job as a fargate task) so either would wor.Darragh
07/08/2020, 12:33 PM