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

Delete image from Quay UI not delete image in minio #940

Open
donghuuhieu137 opened this issue Aug 15, 2024 · 2 comments
Open

Delete image from Quay UI not delete image in minio #940

donghuuhieu137 opened this issue Aug 15, 2024 · 2 comments

Comments

@donghuuhieu137
Copy link

Hi Quay team!
I'm using your Quay Operator with 3 components: quay, mino and redis
When I try to remove an image tag from Quay UI, it gets completely deleted, but it is still there in Minio.
How can I remove image tag from both Quay and Minio ?
I really appreciate if you guys have solution for this case, Thank you so much

@dmesser
Copy link
Contributor

dmesser commented Aug 15, 2024

Hi, while image tags in the Quay UI appear to be deleted immediately a couple of factors come into play when the image layers in the S3 backend (minio) are actually deleted:

  • whether or not other tags in other repos are pointing to the same image manifest (which in turn shares the same image layers)
  • whether or not the time machine retain period is set to something higher than "seconds"
  • whether the garbage collector background worker has run yet

If you are certain that no other tags point to the same manifest, you can use the "permanently delete" functionality in the UI to immediately delete an image manifest (be sure PERMANENTLY_DELETE_TAGS is set to True in the Quay config file). This is also available for images that have already be deleted but are still kept in time machine, which can be seen in that Tag History tab in the UI.

@donghuuhieu137
Copy link
Author

Hi, while image tags in the Quay UI appear to be deleted immediately a couple of factors come into play when the image layers in the S3 backend (minio) are actually deleted:

  • whether or not other tags in other repos are pointing to the same image manifest (which in turn shares the same image layers)
  • whether or not the time machine retain period is set to something higher than "seconds"
  • whether the garbage collector background worker has run yet

If you are certain that no other tags point to the same manifest, you can use the "permanently delete" functionality in the UI to immediately delete an image manifest (be sure PERMANENTLY_DELETE_TAGS is set to True in the Quay config file). This is also available for images that have already be deleted but are still kept in time machine, which can be seen in that Tag History tab in the UI.

Thank you so much, I would try it out

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

No branches or pull requests

2 participants