flatcar-linux-update-operator
flatcar-linux-update-operator copied to clipboard
[RFE] Add support for multiple reboot windows
Current situation
Currently it is only possible to have one reboot window.
Impact
This means I can only schedule reboots for one specific day or every day.
Ideal future situation
It would be great to setup multiple reboot windows, for example:
- Mon to Fri from 09:00 to 17:00 o'clock (office hours)
Implementation options
/bin/update-operator \
--reboot-window-start="Mon, Tue, Wed, Thu, Fri 09:00" \
--reboot-window-length=8h
Thanks for opening separate issue. More context here: https://github.com/flatcar/flatcar-linux-update-operator/issues/193.
If anyone wants to try implementing it, please go ahead. Existing implementation has plenty of tests, so it should be relatively easy to write new tests and extend it.