Giter Club home page Giter Club logo

Comments (5)

milosgajdos avatar milosgajdos commented on September 24, 2024

There is no such thing at the moment no. You can set up a lifecycle policy in S3 though, be careful so the deleted data don't break the integrity of the image graph!

from distribution.

dextercrypt avatar dextercrypt commented on September 24, 2024

@milosgajdos Thanks for your quick response. I see that you've mentioned the S3 lifecycle policies here. I agree that these could be done but I am unsure how to setup a proper lifecycle policy for the same.. I mean I don't know which files should I delete and which to retain? Can you help me out on that please?

Thanks.

from distribution.

milosgajdos avatar milosgajdos commented on September 24, 2024

This is a complicated problem @dextercrypt ...you need to make sure you won't break the integrity of the content stored in registry so the S3 lifecycle policy can really help maybe with purging broken uploads but I'd not use it for the use case you're after.

We've no plans to implement this at the moment, but feel free to take a stab at it!

from distribution.

dextercrypt avatar dextercrypt commented on September 24, 2024

Hi @milosgajdos, Okay I understood the issue. I might look at it further but at this moment do you know how can I set this up or you know someone who managed to do this? The reason I am afraid to put a lifecycle on this is that once it breaks the Layer files of the Registry, I fear that my registry would get corrupted or something and I might lose my data. Is there any way you can help?

from distribution.

milosgajdos avatar milosgajdos commented on September 24, 2024

The reason I am afraid to put a lifecycle on this is that once it breaks the Layer files of the Registry, I fear that my registry would get corrupted or something and I might lose my data. Is there any way you can help?

Yes, that's the right worry...as I said:

This is a complicated problem @dextercrypt ...you need to make sure you won't break the integrity of the content stored in registry

No, I don't know anyone I'm afraid. And as I said, I'd be wary about implementing it in S3...lifecycle policies in S3 are handy for purging failed uploads though. But not useful at all for application-aware stores.

from distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.