mirror of
https://github.com/kubereboot/kured.git
synced 2026-03-04 09:50:19 +00:00
Currently, kured issues the system reboot command immediately after kubectl drain finishes. This is a problem for processes that need extra time to finish but aren't running on pods and therefore aren't controlled by kubectl drain (e.g. de-registering nodes from external load balancers). This patch solves the problem by introducing a `reboot-delay` command line argument that can be used to add a delay after kubectl drain finishes but before the reboot command is issued.