Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set k8s imagePullPolicy to Always #455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

roclark
Copy link
Member

@roclark roclark commented Jan 16, 2025

To prevent certain corner cases where images could be pushed with the same tag to a container registry, the imagePullPolicy for k8s jobs should use "Always" to ensure the container registry is always checked for newer versions of the container, even if one is already cached locally. This shouldn't negatively impact performance as it won't re-pull an image if it already exists locally and there isn't a newer one available on the registry.

To prevent certain corner cases where images could be pushed with the
same tag to a container registry, the imagePullPolicy for k8s jobs
should use "Always" to ensure the container registry is always checked
for newer versions of the container, even if one is already cached
locally. This shouldn't negatively impact performance as it won't
re-pull an image if it already exists locally and there isn't a newer
one available on the registry.

Signed-Off-By: Robert Clark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants