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
487 stars 27 forks source link

update scheduler logic regarding terminator extenders #489

Closed miklezzzz closed 4 months ago

miklezzzz commented 4 months ago

Overview

Update error logging and Module Scheduler logic.

This pr adds extra error formatting for extenders' errors and slightly reworks the way terminating extenders are applied.

What this PR does / why we need it

Currently, terminating extenders don't work correctly if they are placed anywhere in the applied extenders list, except for at the end. This Pr adds extra information to the list of the extenders that helps figure out how to use terminating extenders when filtering a module.

Special notes for your reviewer