coreos / container-linux-update-operator

A Kubernetes operator to manage updates of Container Linux by CoreOS
Apache License 2.0
209 stars 49 forks source link

Send a message prior to reboot? #190

Open jmreicha opened 5 years ago

jmreicha commented 5 years ago

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?

dghubble commented 5 years ago

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