-
Notifications
You must be signed in to change notification settings - Fork 61
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
imagePullPolicy of Always leads to unnecessary pulls against Docker Hub rate limit, spec should specify pull policy and possibly provide other options #89
Comments
@scottkurz that may be worth considering. That's for a component of type |
@l0rd - I need to educate myself before I can respond. I am using odo v1.2.2 experimental mode but am working with a |
Picking this up again, I think the devfile library is setting imagePullPolicy to With the introduction of Docker Hub rate limiting, our Using the terms here it seems a waste of pulls to use On the other hand, for a "stable" tag, the devfile author might want to suggest That said, there's something to be said for keeping things simple, so if in users' real world this isn't a problem then I could see keeping things as they are now. |
To summarize a recent discussion in a call (feel free to correct if I have details wrong): It would be useful to be able to override the imagePullPolicy applied to pods because:
On the topic of defaulting to the Kubernetes behavior ( We also discussed how such a setting could be defined:
Final caveats to consider:
|
@amisevsk - I think you represented the key points raised. If there's a next step I can help move this along with, please let me know. Thanks |
/area library |
The With this being the case, I feel that this issue can be closed now. |
Is your feature request related to a problem? Please describe.
I might want to specify a pull policy Always vs IfNotPresent in my devFile. Perhaps a default should be specified as well.
Describe the solution you'd like
A specified default pull policy plus the ability to choose a non-default explicitly.
Additional context
Depending on the response it might also require an issue on 'odo'.
The text was updated successfully, but these errors were encountered: