Skip to content

A simple daemon to ask for a reboot after some time

License

Notifications You must be signed in to change notification settings

barpilot/kured-toujours

Repository files navigation

kured-toujours

kured-toujours is a simple daemon used to ask for a reboot after some uptime.

TL;DR

# Reboot every week
kured-toujours --period 168h
[.........]
File /var/run/reboot-required touched

Motivation

kubernetes nodes may need to be restarted at some point. Upgrade, cleanup etc.

kured is really awesome to operate nodes when packages upgrade are done. But we may want to upgrade periodically even without upgrade.

Deployment

kubectl apply -f https://raw.githubusercontent.com/barpilot/kured-toujours/master/daemonset.yaml