mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-05-11 11:47:23 +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.