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

Auto garbabe collection #4351

Open
taoyouh opened this issue May 15, 2024 · 1 comment
Open

Auto garbabe collection #4351

taoyouh opened this issue May 15, 2024 · 1 comment

Comments

@taoyouh
Copy link

taoyouh commented May 15, 2024

Description

Although the REST API allows deleting a tag, it does not trigger garbage collection and cannot free up the space it used. It would be convenient if a garbage collection can be triggered when deleting a tag or at a predefined interval.

To allow auto garbage collection, we'll also need a global lock file to indicate a garbage collection is ongoing and the registry is read-only.

@milosgajdos
Copy link
Member

This is an admirable ambition, but not achievable in high-volume environments. You can mark registry as read-only by config which is what a lot of providers do when they run GC

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

No branches or pull requests

2 participants