Niall O'Riordan
08/15/2024, 12:39 PMbuild=True
?
I'm aware that when this is specified as False it will pull the image from ECR at runtime before any tasks will be started.
When this is set as True, will the image already be available for the worker and avoid the need to pull it from ECR?
I'm asking as we noticed a delay in our flows/pods starting with the use of workers over agents when we have set build=False
Kevin Grismore
08/15/2024, 1:01 PMbuild
just decides whether the deployment process will try to build a docker image for you. If the image needed for your deployments already exists, you'll want it set to False
. Image availability at runtime is entirely dependent on the execution platform you're running flows on and its image pull policies. For k8s work pools you can set the pull policy yourself. For ECS, if your flows are running on Fargate, there is no image caching mechanism and images must be pulled before booting the container every time.Niall O'Riordan
08/15/2024, 1:04 PMbuild
to False.
This differs to agents where the image would already be available and we didn't need to pull from ECR at runtime?Kevin Grismore
08/15/2024, 1:09 PMdeploy
. If you were working with agent style deployments before, you probably already have a separate process that builds and pushes your images when your code changes, right?Niall O'Riordan
08/15/2024, 1:10 PMNiall O'Riordan
08/15/2024, 1:10 PMKevin Grismore
08/15/2024, 1:11 PMNiall O'Riordan
08/15/2024, 1:12 PMNiall O'Riordan
08/15/2024, 1:16 PMNiall O'Riordan
08/15/2024, 1:36 PM