flatcar-linux-update-operator icon indicating copy to clipboard operation
flatcar-linux-update-operator copied to clipboard

[RFE] Add support for multiple reboot windows

Open steled opened this issue 2 years ago • 1 comments

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

steled avatar Mar 28 '23 11:03 steled

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.

invidian avatar Mar 28 '23 12:03 invidian