You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to refactor node reaper, it started as a simple script, but as we add more and more logic, it seems the current structure is becoming a bit flakey.
We should have a make some structural improvements.
K8s/AWS clients should be instantiated outside, this will allow to unit tests Run()
Better data structures for for reapable/drainable
Remove duplicate code
A lot of unnecessary if conditions
Pass arguments to ReaperContext and validate them in a cleaner way
The text was updated successfully, but these errors were encountered:
We need to refactor node reaper, it started as a simple script, but as we add more and more logic, it seems the current structure is becoming a bit flakey.
We should have a make some structural improvements.
Run()
reapable
/drainable
The text was updated successfully, but these errors were encountered: