diff --git a/cmd/kured/main.go b/cmd/kured/main.go index d2626fc..e1a57e4 100644 --- a/cmd/kured/main.go +++ b/cmd/kured/main.go @@ -377,9 +377,7 @@ func rebootAsRequired(nodeID string, window *timewindow.TimeWindow, TTL time.Dur continue } - if !nodeMeta.Unschedulable { - drain(client, node) - } + drain(client, node) commandReboot(nodeID) for { log.Infof("Waiting for reboot")