-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
use tagged images to take advantage of the least expensive default image pull policy #8133
Conversation
Replace latest tag with the latest version and tag the image to avoid k8s default image pull policy. The policy is: * if you omit the imagePullPolicy field, and the tag for the container image is :latest, imagePullPolicy is automatically set to Always * if you omit the imagePullPolicy field, and you don't specify the tag for the container image, imagePullPolicy is automatically set to Always With this change, we are relying on the following policy: * if you omit the imagePullPolicy field, and you specify the tag for the container image that isn't :latest, the imagePullPolicy is automatically set to IfNotPresent. Signed-off-by: Priti Desai <pdesai@us.ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chitrangpatel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-tekton-pipeline-integration-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for now but my only fear with this is maintaining the version tags every once in a while. I think thats an ok compromise.
/retest |
/test pull-tekton-pipeline-go-coverage-df |
@chitrangpatel: The specified target(s) for
The following commands are available to trigger optional jobs:
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Yes, this is an additional maintenance until we find a permanent solution. However, it only requires infrequent updates. |
Changes
Replace the
latest
tag with the latest version and tag the image to take advantage of the least expensive k8s default image pull policy. The current policy is:imagePullPolicy
field, and the tag for the container image is:latest
,imagePullPolicy
is automatically set toAlways
imagePullPolicy
field, and you don't specify the tag for the container image,imagePullPolicy
is automatically set toAlways
With this change, we are relying on the following policy:
imagePullPolicy
field, and you specify the tag for the container image that isn't:latest
, theimagePullPolicy
is automatically set toIfNotPresent
.Part of #4551
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes