![]() 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 |
||
---|---|---|
.. | ||
doc.go | ||
fs_resource_analyzer.go | ||
handler.go | ||
mocks_test.go | ||
resource_analyzer.go | ||
summary_test.go | ||
summary.go | ||
volume_stat_caculator.go |