cluster-maxunavailable: break selectMachineToDrain into smaller functions
The following discussion from !99 should be addressed: - [ ] @feleouet started a [discussion](https://gitlab.com/sylva-projects/sylva-elements/misc-controllers-suite/-/merge_requests/99#note_3033902370): (+1 comment) > Looks good to me, I just feel that selectMachineToDrain function is a bit long and hard to review/understand. It would be helpful to split out various part of its code into well named functions. This would help the long-term maintenance of this code.
issue