• k8s-merge-robot's avatar
    Merge pull request #27199 from derekwaynecarr/disk_eviction · 821ff657
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Initial support for pod eviction based on disk
    
    This PR adds the following:
    
    1. node reports disk pressure condition based on configured thresholds
    1. scheduler does not place pods on nodes reporting disk pressure
    1. kubelet will not admit any pod when it reports disk pressure
    1. kubelet ranks pods for eviction when low on disk
    1. kubelet evicts greediest pod
    
    Follow-on PRs will need to handle:
    
    1. integrate with new image gc PR (https://github.com/kubernetes/kubernetes/pull/27199)
    1. container gc policy should always run (will not be launched from eviction, tbd who does that)
      1. this means kill pod is fine for all eviction code paths since container gc will remove dead container
    1. min reclaim support will just poll summary provider (derek will do follow-on)
    1. need to know if imagefs is same device as rootfs from summary (derek follow-on)
    
    /cc @vishh @kubernetes/sig-node 
    821ff657
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib 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...
release Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...