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

Send a message prior to reboot?

Open jmreicha opened this issue 6 years ago • 1 comments

Was curious if there was a way to tell the operator to send a message/alert when nodes get scheduled to reboot? I poked through the code a little bit but didn't see a way.

Also, is this project being actively maintained these days or is it mostly in maintenance mode?

jmreicha avatar Feb 13 '19 19:02 jmreicha

You could use the before and after reboot annotations to run a custom pod. That could let you send a message in some way you prefer (email, slack) without CLUO implementing it directly.

https://github.com/coreos/container-linux-update-operator/blob/master/examples/reboot-annotations/before-reboot-daemonset.yaml

dghubble avatar Feb 15 '19 02:02 dghubble