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

control-service: remove hardcoded image pull policy from job deployer #2557

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented Aug 16, 2023

what: removed hardcoded imagePullPolicy from the JobImageDeployer service.

why:
Currently, the "Always" strategy fetches the latest version of the image from the registry. This results in an unnecessary image pulls.
Switching to the "IfNotPresent" strategy will address this issue. With this strategy, images will be pulled only if they are not already present in the local cache, matching the behavior of our data jobs that use exact tags associated with the current version. This will reduce unnecessary network calls to the Docker Registry.

testing: trivial

mrMoZ1 added 2 commits August 16, 2023 18:23
@mrMoZ1 mrMoZ1 merged commit 9d74b40 into main Aug 17, 2023
@mrMoZ1 mrMoZ1 deleted the person/mzhivkov/remove-hardcoded-image-pull-policy branch August 17, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants