mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-03-03 02:00:24 +00:00
Each strategy implements a test for checking if a maximum number of pods per node was already evicted. The test duplicates a code that can be put under a single invocation. Thus, reducing the number of arguments passed to each strategy given EvicPod call can encapsulate both the check and the invocation of the pod eviction itself.