-
Notifications
You must be signed in to change notification settings - Fork 62
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 default kubernetes imagePullPolicy #587
Conversation
Target for 1.2-dev. |
1db3a72
to
249383a
Compare
That is the default when:
|
249383a
to
2b9782c
Compare
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 .. but a question .. is it better to leave blank or specify "always" in image pull policy?
agreed with @mkbhanda , I think we can make it looks nicer by: in values.yaml, leave the image.pullPolicy as a comment with a little bit explanation, which gives the user some hints that it's configurable, i.e.
In the corresponding deployment.yaml, change the image policy settings as optional:
|
Looking at the CI errors...
|
The helm lint fail is due to "helm dep build", refer to this: |
Checked the GMC CI chatqna.log, the output file is good with "[DONE]" ending. That's more like an issue from client side, or the "router" sevice of GMC.
Gaudi device conflict, rerun should solve this.
|
b3b12c0
to
098f32d
Compare
Ok, the other CI issues are now fixed. The 2 remaining ones (audioqna + speecht5 on Gaudi) are both due to CI using stale
|
* Use kubernetes default imagePullPolicy. Always for latest image and IfNotPresent for others. * Use 0-latest as dev version for helm charts Signed-off-by: Dolpher Du <[email protected]>
Signed-off-by: Dolpher Du <[email protected]>
Signed-off-by: Dolpher Du <[email protected]>
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.
The speecht5-gaudi issue is reported at opea-project/GenAIComps#948, which is not related to this change.
We'll let the PR merge in first even with issue opea-project/GenAIComps#948 to avoid huge CI tests cases involved in this PR, and a bunch of other PRs are pending on this one |
For latest tag, it should use Always.
For tags other than latest, it will use IfNotPresent.
https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
Description
The summary of the proposed changes as long as the relevant motivation and context.
Issues
#597
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.