Kured¶
KUbernetes REboot Daemon: https://github.com/weaveworks/kured
https://learn.microsoft.com/en-us/azure/aks/node-updates-kured
To protect clusters, security updates are automatically applied to Linux nodes in AKS. Some of these updates require a node reboot to complete the process.
With kured, a DaemonSet is deployed that runs a pod on each Linux node in the cluster. These pods in the DaemonSet watch for existence of the /var/run/reboot-required file, and then initiate a process to reboot the nodes.
cli¶
check logs¶
Resultreboot schedule¶
--start-time: string, schedule reboot only after this time of day (default "0:00")--end-time: string, schedule reboot only before this time of day (default "23:59:59")
Times can be formatted in numerous ways, including--reboot-days: strings, schedule reboot on these days (default [su,mo,tu,we,th,fr,sa]5pm,5:00pm,17:00, and17.
configuration¶
https://kured.dev/docs/configuration/
In values.yaml
becomeserror: DaemonSet.apps "kured" is invalid: spec.selector: ... field is immutable¶
https://github.com/kubereboot/kured/issues/610
Solution: uninstall the release and install it again - cannot simply upgrade