• k8s-merge-robot's avatar
    Merge pull request #24047 from derekwaynecarr/reuse_summary_provider · 9637b09f
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Expose SummaryProvider for reuse by other parts of kubelet
    
    To support out of resource killing in the kubelet, we will introduce a new top-level module that will ensure node stability by checking if eviction thresholds have been met for memory and file-system usage on the node.  In addition, it will then need information about pod memory and disk usage in order to make an eviction selection.  Currently, this information is collected in `SummaryProvider` but it's hidden away and not available for re-use by other top-level modules of the kubelet.  This initial refactor adds the ability to get summary stat information from the `ResourceAnalyzer` so it can be reused by other top-level modules.
    
    I suspect we will further re-factor this area as code evolves, but this unblocks further progress on out-of-resource killing.
    
    /cc @vishh @timothysc @kubernetes/sig-node @kubernetes/rh-cluster-infra 
    9637b09f
Name
Last commit
Last update
..
doc.go Loading commit data...
fs_resource_analyzer.go Loading commit data...
handler.go Loading commit data...
mocks_test.go Loading commit data...
resource_analyzer.go Loading commit data...
summary.go Loading commit data...
summary_test.go Loading commit data...
volume_stat_caculator.go Loading commit data...