• 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
..
admission Loading commit data...
api Loading commit data...
apimachinery Loading commit data...
apis Loading commit data...
apiserver Loading commit data...
auth Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
conversion Loading commit data...
credentialprovider Loading commit data...
dns Loading commit data...
fieldpath Loading commit data...
fields Loading commit data...
genericapiserver Loading commit data...
healthz Loading commit data...
httplog Loading commit data...
hyperkube Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
labels Loading commit data...
master Loading commit data...
metrics Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
runtime Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
storage Loading commit data...
types Loading commit data...
ui Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
OWNERS Loading commit data...