-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pre-pull cache-from images #1495
Pre-pull cache-from images #1495
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1495 +/- ##
==========================================
+ Coverage 44.87% 44.93% +0.05%
==========================================
Files 115 115
Lines 4771 4796 +25
==========================================
+ Hits 2141 2155 +14
- Misses 2409 2420 +11
Partials 221 221
Continue to review full report at Codecov.
|
Signed-off-by: David Gageot <[email protected]>
2b89950
to
88f1247
Compare
Really nice! We build our own cacheFrom pulling code around skaffold in our ci-pipeline to ensure its fast. This fixes it. Will it also pull new versions even if it has a local image of the specified tag? |
Do you think it should? It currently doesn't but both behaviour would make sense to me. I guess always pulling is more predictable. |
It depends on the context, for us, in our CI environment, we always need to pull, because that local images might be stale. However for local development, you don't want to pull everytime. So maybe it could be a flag? If you always pull, you have to make sure you dont pull the same cacheFrom image twice. |
@tjerkw let's merge it as it is and I'll create a ticket to configure 'pull always' |
Fixes #936
Signed-off-by: David Gageot [email protected]