Comments (8)
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.
/sig-node
from kubernetes.
/sig node
from kubernetes.
/cc @haircommander @sohankunkerkar
/triage accepted
/priority important-longterm
from kubernetes.
Beta feedback for kubernetes/enhancements#4210
from kubernetes.
@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.
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.
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)
- Kubernets service not distributing traffic in equally , seeing imbalance in traffic . HOT 14
- Publish Markdown for OpenAPI field descriptions using an extension HOT 10
- Enhancement: allow to filter what fields to return from the API HOT 9
- [Failing Test] ci-crio-cgroupv1-node-e2e-conformance (Swap Tests) HOT 3
- [Flaking Test] integration-master (goroutine leak detection) HOT 6
- [Flaking Test] ci-node-e2e (Container Lifecycle) HOT 11
- Migrate existing features to versioned feature gate HOT 4
- verification machinery for compatibility version HOT 3
- [Flaking Test] TestLog/stateful_set_logs_with_all_pods HOT 4
- Pod deleted during image pull still starts HOT 10
- ValidatingAdmissionPolicy objects have different runtime type compared to CRDValidationRules HOT 8
- `kube-proxy`'s `--healthz-bind-address` should support IPv4 and IPv6 simultaneously (dual stack) HOT 24
- Bug: securityContext appArmorProfile unconfined not working with containerd HOT 5
- The old pod log file is not deleted from the /var/log/pods/ directory HOT 14
- Job controller reports the count of terminating pods with unnecessary delay HOT 4
- tracking issue; bump pause to 3.10 HOT 4
- kubernetes-sigs / scheduler-plugins go.mod Error HOT 3
- post-kubernetes-push-image-pause failed to publish version 3.10 HOT 15
- Failure cluster [6bc9e9c5...] HOT 8
- Apiserver log `Forcing xxx watcher close due to unresponsiveness` meaning consultation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.