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

Task: proxy cache user story - Image pull scenarios #11868

Closed
xaleeks opened this issue May 9, 2020 · 1 comment
Closed

Task: proxy cache user story - Image pull scenarios #11868

xaleeks opened this issue May 9, 2020 · 1 comment

Comments

@xaleeks
Copy link
Contributor

xaleeks commented May 9, 2020

This issue is a sub-task of the Proxy Cache epic (#11658)

【P0】As an admin, I can make sure that when pulling an image from a proxy project, proxy project will check its cached copy against the remote registry to make sure it has the latest. If not, it will update itself with the latest ver before serving the pull request. A couple of scenarios to consider

Image requested is not in cache and is found in upstream registry, so cache will pull from upstream, store, before serve to client
Image requested is in cache, checks upstream and finds a newer copy, grabs newer copy, caches it and serve to client
Image requested is in cache, checks upstream and finds the same copy, serves the cached copy to client
Image requested is in cache, checks upstream and image has been removed, disregard pull request and return image not found
Image requested is in cache, checks upstream and finds the registry is down, serves the cached copy to client
@xaleeks xaleeks changed the title Task: proxy cache user story - Task: proxy cache user story - Image pull scenarios May 9, 2020
@stonezdj
Copy link
Contributor

Closed with PR #12274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants