OS Manuals

/usr/bin/kured

Kubernetes Reboot Daemon

From kured 1.23.0-r5 (enterprise-packages), captured 2026-11-08 by running kured --help (exit 0). permalink

Also provided by 1 other package version
Usage of /usr/bin/kured:
      --alert-filter-match-only             Only block if the alert-filter-regexp matches active alerts
      --alert-filter-regexp regexp          alert names to ignore when checking for active alerts
      --alert-firing-only                   only consider firing alerts when checking for active alerts
      --annotate-nodes                      if set, the annotations 'weave.works/kured-reboot-in-progress' and 'weave.works/kured-most-recent-reboot-needed' will be given to nodes undergoing kured reboots
      --blocking-pod-selector stringArray   label selector identifying pods whose presence should prevent reboots
      --concurrency int                     amount of nodes to concurrently reboot. Defaults to 1 (default 1)
      --drain-delay duration                delay drain for this duration (default: 0, disabled)
      --drain-grace-period int              time in seconds given to each pod to terminate gracefully, if negative, the default value specified in the pod will be used (default -1)
      --drain-pod-selector string           only drain pods with labels matching the selector (default: '', all pods)
      --drain-timeout duration              timeout after which the drain is aborted (default: 0, infinite time)
      --ds-name string                      name of daemonset on which to place lock (default "kured")
      --ds-namespace string                 namespace containing daemonset on which to place lock (default "kube-system")
      --end-time string                     schedule reboot only before this time of day (default "23:59:59")
      --force-reboot                        force a reboot even if the drain fails or times out
      --lock-annotation string              annotation in which to record locking node (default "weave.works/kured-node-lock")
      --lock-release-delay duration         delay lock release for this duration (default: 0, disabled)
      --lock-ttl duration                   expire lock annotation after this duration (default: 0, disabled)
      --log-format string                   use text or json log format (default "text")
      --message-template-drain string       message template used to notify about a node being drained (default "Draining node %s")
      --message-template-reboot string      message template used to notify about a node being rebooted (default "Rebooting node %s")
      --message-template-uncordon string    message template used to notify about a node being successfully uncordoned (default "Node %s rebooted & uncordoned successfully!")
      --metrics-host string                 host where metrics will listen
      --metrics-port int                    port number where metrics will listen (default 8080)
      --node-id string                      node name kured runs on, should be passed down from spec.nodeName via KURED_NODE_ID environment variable
      --notify-url string                   notify URL for reboot notifications (cannot use with --slack-hook-url flags)
      --period duration                     sentinel check period (default 1h0m0s)
      --post-reboot-node-labels strings     labels to add to nodes after uncordoning
      --pre-reboot-node-labels strings      labels to add to nodes before cordoning
      --prefer-no-schedule-taint string     Taint name applied during pending node reboot (to prevent receiving additional pods from other rebooting nodes). Disabled by default. Set e.g. to "weave.works/kured-node-reboot" to enable tainting.
      --prometheus-url string               Prometheus instance to probe for active alerts
      --reboot-command string               command to run when a reboot is required (default "/bin/systemctl reboot")
      --reboot-days strings                 schedule reboot on these days (default [su,mo,tu,we,th,fr,sa])
      --reboot-delay duration               delay reboot for this duration (default: 0, disabled)
      --reboot-method string                method to use for reboots. Available: command (default "command")
      --reboot-sentinel string              path to file whose existence triggers the reboot command (default "/var/run/reboot-required")
      --reboot-sentinel-command string      command for which a zero return code will trigger a reboot command
      --reboot-signal int                   signal to use for reboot, SIGRTMIN+5 by default. (default 39)
      --skip-wait-for-delete-timeout int    when seconds is greater than zero, skip waiting for the pods whose deletion timestamp is older than N seconds while draining a node
      --slack-channel string                slack channel for reboot notifications
      --slack-hook-url string               slack hook URL for reboot notifications [deprecated in favor of --notify-url]
      --slack-username string               slack username for reboot notifications (default "kured")
      --start-time string                   schedule reboot only after this time of day (default "0:00")
      --time-zone string                    use this timezone for schedule inputs (default "UTC")
Options (43)
OptionDescriptionSource
--alert-filter-match-onlyOnly block if the alert-filter-regexp matches active alertshelp
--alert-filter-regexp regexpalert names to ignore when checking for active alertshelp
--alert-firing-onlyonly consider firing alerts when checking for active alertshelp
--annotate-nodesif set, the annotations 'weave.works/kured-reboot-in-progress' and 'weave.works/kured-most-recent-reboot-needed' will be given to nodes undergoing kured rebootshelp
--blocking-pod-selector stringArraylabel selector identifying pods whose presence should prevent rebootshelp
--concurrency intamount of nodes to concurrently reboot.help
--drain-delay durationdelay drain for this duration (default: 0, disabled)help
--drain-grace-period inttime in seconds given to each pod to terminate gracefully, if negative, the default value specified in the pod will be used (default -1)help
--drain-pod-selector stringonly drain pods with labels matching the selector (default: '', all pods)help
--drain-timeout durationtimeout after which the drain is aborted (default: 0, infinite time)help
--ds-name stringname of daemonset on which to place lock (default "kured")help
--ds-namespace stringnamespace containing daemonset on which to place lock (default "kube-system")help
--end-time stringschedule reboot only before this time of day (default "23:59:59")help
--force-rebootforce a reboot even if the drain fails or times outhelp
--lock-annotation stringannotation in which to record locking node (default "weave.works/kured-node-lock")help
--lock-release-delay durationdelay lock release for this duration (default: 0, disabled)help
--lock-ttl durationexpire lock annotation after this duration (default: 0, disabled)help
--log-format stringuse text or json log format (default "text")help
--message-template-drain stringmessage template used to notify about a node being drained (default "Draining node %s")help
--message-template-reboot stringmessage template used to notify about a node being rebooted (default "Rebooting node %s")help
--message-template-uncordon stringmessage template used to notify about a node being successfully uncordoned (default "Node %s rebooted & uncordoned successfully!")help
--metrics-host stringhost where metrics will listenhelp
--metrics-port intport number where metrics will listen (default 8080)help
--node-id stringnode name kured runs on, should be passed down from spec.nodeName via KURED_NODE_ID environment variablehelp
--notify-url stringnotify URL for reboot notifications (cannot use with --slack-hook-url flags)help
--period durationsentinel check period (default 1h0m0s)help
--post-reboot-node-labels stringslabels to add to nodes after uncordoninghelp
--pre-reboot-node-labels stringslabels to add to nodes before cordoninghelp
--prefer-no-schedule-taint stringTaint name applied during pending node reboot (to prevent receiving additional pods from other rebooting nodes).help
--prometheus-url stringPrometheus instance to probe for active alertshelp
--reboot-command stringcommand to run when a reboot is required (default "/bin/systemctl reboot")help
--reboot-days stringsschedule reboot on these days (default [su,mo,tu,we,th,fr,sa])help
--reboot-delay durationdelay reboot for this duration (default: 0, disabled)help
--reboot-method stringmethod to use for reboots.help
--reboot-sentinel stringpath to file whose existence triggers the reboot command (default "/var/run/reboot-required")help
--reboot-sentinel-command stringcommand for which a zero return code will trigger a reboot commandhelp
--reboot-signal intsignal to use for reboot, SIGRTMIN+5 by default.help
--skip-wait-for-delete-timeout intwhen seconds is greater than zero, skip waiting for the pods whose deletion timestamp is older than N seconds while draining a nodehelp
--slack-channel stringslack channel for reboot notificationshelp
--slack-hook-url stringslack hook URL for reboot notifications [deprecated in favor of --notify-url]help
--slack-username stringslack username for reboot notifications (default "kured")help
--start-time stringschedule reboot only after this time of day (default "0:00")help
--time-zone stringuse this timezone for schedule inputs (default "UTC")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.