flant / addon-operator

A system to manage additional components for Kubernetes cluster in a simple, consistent and automated way.
https://flant.github.io/addon-operator/
Apache License 2.0
483 stars 27 forks source link

fix scheduler and provide get-update-by-extender method #501

Closed miklezzzz closed 1 month ago

miklezzzz commented 1 month ago

Overview

  1. Fixed some erroneous logic in the scheduler's logic when filtering modules by a terminator extender.
  2. Provided a couple of methods to get info which extender actually enabled/disabled a module.

What this PR does / why we need it

  1. To fix the aforementioned bug in the scheduler's logic.
  2. To be able to reflect in modules' status why modules were enabled/disabled.

Special notes for your reviewer