Hello Flyte community 🙂
TLDR: Is it possible to set
imagePullPolicy=Always
for task pods?
I have a question regarding task pods. We recently encountered the problem that a certain package was not installed in our custom task image, however we could clearly see that the package has been installed. We did a little research and recognized that the task pod has
imagePullPolicy: IfNotPresent
. So our Kubernetes cluster took the image from the internal cache and thus took the "old" one. We need to overcome this problem.
We installed flyte via
helm
with a custom
values.yaml
.
Can we set the task imagePullPolicy somewhere to Always? Is there any other way to enforce a fresh image pull each time?
f
freezing-airport-6809
08/02/2023, 2:47 PM
You can override any default behavior using pod templates
👍 1
freezing-airport-6809
08/02/2023, 2:47 PM
But some hooks are available for global defaults in propeller confit
👍 1
s
strong-carpet-69168
08/03/2023, 2:08 PM
@freezing-airport-6809
For both options I dont know where to start. Can you give me a hint
f
freezing-airport-6809
08/04/2023, 1:06 AM
@strong-carpet-69168 yes will do, but @average-finland-92144 can you point to the config?