https://prefect.io logo
g

g.suijker

05/03/2021, 12:04 PM
Hi all, I'm using Docker storage to store my flow within a Docker image on azure container registry. However when I change my flow and push the image to the registry (with the same tag as the previous version) it appears that when I run the flow with the Cloud UI, the flow is not run with the latest image containing the changes. Any ideas on why the agent is not using the latest image?
m

Marwan Sarieddine

05/03/2021, 12:44 PM
I believe it depends on the “image pull policy” on your execution environment -i.e. if the overwritten image is being pulled again or not. if you are using Kubernetes you will need to change the
imagePullPolicy
from the default
IfNotPresent
to
Always
see this issue https://github.com/PrefectHQ/prefect/issues/4410 for more details
👍 1
g

g.suijker

05/03/2021, 12:48 PM
Thanks, that might be the issue.
👍 1
3 Views