• Kubernetes Submit Queue's avatar
    Merge pull request #42204 from dashpole/allocatable_eviction · 2d319bd4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Eviction Manager Enforces Allocatable Thresholds
    
    This PR modifies the eviction manager to enforce node allocatable thresholds for memory as described in kubernetes/community#348.
    This PR should be merged after #41234. 
    
    cc @kubernetes/sig-node-pr-reviews @kubernetes/sig-node-feature-requests @vishh 
    
    ** Why is this a bug/regression**
    
    Kubelet uses `oom_score_adj` to enforce QoS policies. But the `oom_score_adj` is based on overall memory requested, which means that a Burstable pod that requested a lot of memory can lead to OOM kills for Guaranteed pods, which violates QoS. Even worse, we have observed system daemons like kubelet or kube-proxy being killed by the OOM killer.
    Without this PR, v1.6 will have node stability issues and regressions in an existing GA feature `out of Resource` handling.
    2d319bd4
Name
Last commit
Last update
..
app Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
kubelet.go Loading commit data...