• 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
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.gazelcfg.json Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...