k3s/pkg/kubelet/eviction
Kubernetes Submit Queue 6a9d56b35a Merge pull request #32724 from sjenning/eviction-timestamp
Automatic merge from submit-queue

kubelet: eviction: avoid duplicate action on stale stats

Currently, the eviction code can be overly aggressive when synchronize() is called two (or more) times before a particular stat has been recollected by cadvisor.  The eviction manager will take additional  action based on information for which it has already taken actions.

This PR provides a method for the eviction manager to track the timestamp of the last obversation and not take action if the stat has not been updated since the last time synchronize() was run.

@derekwaynecarr @vishh @kubernetes/rh-cluster-infra
2016-10-06 11:05:34 -07:00
..
OWNERS Add owners file for kubelet eviction 2016-06-14 13:30:23 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
eviction_manager.go kubelet: eviction: avoid duplicate action on stale stats 2016-10-06 11:39:05 -05:00
eviction_manager_test.go Merge pull request #33392 from sjenning/min-reclaim-percent 2016-10-06 09:25:46 -07:00
helpers.go Merge pull request #32724 from sjenning/eviction-timestamp 2016-10-06 11:05:34 -07:00
helpers_test.go Merge pull request #32724 from sjenning/eviction-timestamp 2016-10-06 11:05:34 -07:00
types.go Merge pull request #32724 from sjenning/eviction-timestamp 2016-10-06 11:05:34 -07:00