GithubHelp home page GithubHelp logo

Comments (8)

haircommander avatar haircommander commented on June 19, 2024 1

when concieving of the feature I had the idea of something intermittent but not too infrequent: something like 2 weeks. We've yet to make official recommendations as I think we need more testing time to find the frequency that seems good.

from kubernetes.

Joseph-Goergen avatar Joseph-Goergen commented on June 19, 2024

/sig-node

from kubernetes.

Joseph-Goergen avatar Joseph-Goergen commented on June 19, 2024

/sig node

from kubernetes.

kannon92 avatar kannon92 commented on June 19, 2024

/cc @haircommander @sohankunkerkar

/triage accepted
/priority important-longterm

from kubernetes.

kannon92 avatar kannon92 commented on June 19, 2024

Beta feedback for kubernetes/enhancements#4210

from kubernetes.

SergeyKanzhelev avatar SergeyKanzhelev commented on June 19, 2024

@haircommander how big of a disk usage spike will happen on cleanup?

Is 2 weeks coming from the idea that the autoscaler may decide to use the node again? If there are no autoscaler, is there any issues with 1 hour?

from kubernetes.

SergeyKanzhelev avatar SergeyKanzhelev commented on June 19, 2024

btw, one idea for improvement of this logic is to add some grace period to wait if there are download is hapenning at this moment. So if there is an image pull ongoing when GC want's to clean up those images, we can wait a bit to minimize disk churn

from kubernetes.

haircommander avatar haircommander commented on June 19, 2024

I think 1 hour is pretty low TBH

autoscaler may decide to use the node again

which autoscaler?

So if there is an image pull ongoing when GC want's to clean up those images, we can wait a bit to minimize disk churn

no matter the grace period we give, we'll hit this issue theoretically. Even if no container is using an image, we could hit situations where an unused image for 1 hour will be created immediately after.

My thought with the relatively high value is to increase the liklihood that an image is not just unused, but has been replaced by a newer version of the same image. The former case (unused for a bit, but will be used later) is an unfortunate side effect, and we'd use the new metric to track when the image was gc'd for reason age

from kubernetes.

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.