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

Provide "Registry GC" function to help registry's GC #17

Closed
jeremyxu2010 opened this issue Sep 5, 2018 · 1 comment
Closed

Provide "Registry GC" function to help registry's GC #17

jeremyxu2010 opened this issue Sep 5, 2018 · 1 comment

Comments

@jeremyxu2010
Copy link

jeremyxu2010 commented Sep 5, 2018

refer to Deleting repositories, why do i have to shut down the harbor for this operation of registry's garbage collection(GC)?

I suggest you can improve as follows:

  1. Put a "Registry GC" Button on the harbor's administrator UI
  2. Once the system administrator clicks this button, a prompt box will pop up to show the upcoming GC operation
  3. If the system administrator clicks the confirmation button, then continue
  4. temporarily disable push image globally
  5. Execute this garbage-collect python script
  6. After the above script is executed, enable push image globally
@reasonerjt
Copy link
Contributor

We started working on online GC in 1.6 and hopefully i will be shipped in 1.7,
though the process is not exactly the same as your described.

Please see:
goharbor/harbor#4949

Additionally, this repo is for helm chart of Harbor only, please open issue to
https://github.com/goharbor/harbor
in future if you have a question or feature request.

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