Hi, I need some help with Flyte I have to set Imag...
# ask-the-community
d
Hi, I need some help with Flyte I have to set ImagePullPolicy as
Always
for the my docker image is of format :
<http://16xxxxxx01.dkr.ecr.ap-south-1.amazonaws.com/kubeflow-pipelines-develop:some_random-long-tag-name-latest|16xxxxxx01.dkr.ecr.ap-south-1.amazonaws.com/kubeflow-pipelines-develop:some_random-long-tag-name-latest>
Since the tag is not exactly
:latest
, maybe that is why it is not automatically setting value of
ImagePullPolicy
to Always. what are the alternative ways to set imagePullPolicy? I see that there is also a recent plugin released for this, I am trying to work on that also.
cc @Kirill Dubovikov
@David Espejo (he/him) maybe you can help?
problem solved. using podTemplate
h
great! I was writing up the same:
Copy code
Do you want to apply that to all containers? the quickest way would be to leverage PodTemplates. If you create a PodTemplate in the flyte namespace
glad you figured it out!
k
you can change the default ImagePullPolicy https://github.com/flyteorg/flyte/pull/5167