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

add proxy registries for common registries #227

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ostempel
Copy link

Description

Closes #210

Added proxy registries of common registries in order to consecutively cache images.

Also tried to start proxy registries before control-plane startup in order to cache default k8s images, but this didn't work.

@ostempel ostempel requested a review from a team as a code owner March 11, 2025 13:13
Copy link
Contributor

@Gerrit91 Gerrit91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's good!

Was first thinking to somehow use the images from the host docker daemon first, but after looking at how this could be done, I think that his solution is nice and clean. After some time we maybe have to cleanup these registries a bit.

@ostempel ostempel force-pushed the add-local-proxy-registries branch from 844a0c0 to b640d5e Compare March 14, 2025 08:18
@ostempel ostempel requested a review from Gerrit91 March 14, 2025 12:51
@ostempel
Copy link
Author

Also checked other solutions like nexus and harbor. They require advanced configuration and are too heavyweight for this use-case.

In order to cleanup the registries I tried to find a solutions which supports deleting unused images. Problem here is, that images just support createdAt and no lastUse date. Therefore we now just support static volume size cleanup. Meaning the volume of a proxy gets deleted if it exceeds a specific threshold.

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

Successfully merging this pull request may close these issues.

Consider utilizing image caching
2 participants