mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-03-02 17:50:22 +00:00
Currently, the pod evictor is created during each descheduling cycle to reset the internal counters and the fake client (in case a dry run is configured). Instead, create the pod evictor once and reset only what's needed. So later on the pod evictor can be extended with e.g. a cache keeping the track of eviction requests that are still in progress and required more than a single descheduling cycle to complete.