Reboot#
Workflows → RReboots
Documentation coming soon!
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
Reboot
SPEC
RebootSpec defines the desired state of Reboot
-
Configure drains to gracefully drain traffic away from nodes before rebooting.
default: {}-
Do not run any drain operations. Nodes will be rebooted without attempting to gracefully drain them.
default: false -
Seconds to wait before rebooting a node after the drain has been initiated. This is used to allow time for any traffic to drain away from the node before reboot.
default: 60format: int32range: 0 to 300
-
-
List of node selectors to select nodes to reboot. This matches labels on TopoNode resources, including those TopoNodes in the list of nodes that will be rebooted. If no nodes are specified, and no node selectors are specified, all nodes in the given namespace will be selected. This is a list of label expressions, e.g. ["eda.nokia.com/role=leaf"].
-
List of nodes to reboot.
-
Reboot Options to configure how the reboot is performed.
default: {}-
Seconds to wait for ControlModule and InterfaceModule recovery after ReconnectionTimeout. Minimum value is 60 seconds (1 minute), maximum value is 3600 seconds (1 hour). The default value is 900 seconds (15 minutes).
default: 900format: int32range: 60 to 3600 -
Delay in seconds before performing the reboot. Minimum value is 0 seconds (immediate), maximum value is 300 seconds (5 minutes).
format: int32range: 0 to 300 -
Force the reboot, bypassing any softchecks on the node. For example: unsaved configuration between running and startup config.
default: false -
Do not require InterfaceModules to transition to Up After Reboot.
default: false -
Supply a broadcast message to all users logged in to the node(s) being rebooted.
-
Reboot method to use, currently only cold reboot is supported, other methods may be added in the future.
default: "Cold"enum: "Cold" -
Seconds to wait for node to come back online after reboot. Minimum value is 60 seconds (1 minute), maximum value is 3600 seconds (1 hour). The default value is 600 seconds (10 minutes). SR OS nodes in NPP maintenance mode use 1800 seconds when unset or set to default value of 600 seconds.
default: 600format: int32range: 60 to 3600
-
-
Control when to prompt the user for input. If any pre or post checks fail, the user will be prompted for input, but this may be used to prompt even if they're successful.
default: {}-
Prompts the user to confirm wether to proceed with the reboot or wait for nodes to recover. InputSafety prompts the user for confirmation to proceed if any unintended input is detected. RecoveryTimeout prompts the user for confirmation, to wait for an additional ReconnectionTimeoutSeconds duration, allowing time for the node to recover.
default: ["InputSafety", "RecoveryTimeout"] -
Skip all user prompts and execute without any user interaction.
default: false
-
-
List of tranches to use to reboot nodes. A tranche is a list of node selectors, and a name. Tranches are rebooted in order, sequentially. Tranches are rebooted before any Nodes and/or Node Selectors are evaluated. When there is overlap between a Tranche and the list of Nodes evaluated by Nodes and/or Node Selectors, the matching Node will be purged from the list of Nodes / NodeSelectors.
-
-
Name of the tranche. This is used to identify the tranche in the UI and in logs.
-
Node Selectors is a list of node selectors to select nodes to reboot in this tranche. This matches labels on TopoNode resources, including those TopoNodes in the list of nodes that will be rebooted. This is a list of label expressions, e.g. ["eda.nokia.com/role=leaf"].
-
-
STATUS
RebootStatus defines the observed state of Reboot
-
Per-node reboot details.
-
-
The time when the node was drained. This is the time when the node was drained before the imaging operation.
format: date-time -
Error message if the operation was unsuccessful for this node.
-
The name of the node this result is for.
-
The time when the node was recovered after reboot. This is the time when the node was recovered after the reboot operation.
format: date-time -
The time when the node was rebooted. This is the time when the node was rebooted during the reboot operation.
format: date-time -
Indicates if the reboot operation was successful for this node. This is true if the reboot operation was successful, false if it failed.
default: false -
The time when the node was undrained. This is the time when the node was undrained after the imaging operation.
format: date-time
-
-
-
The time when the first node was drained.
format: date-time -
The time when the first node was rebooted.
format: date-time -
The time when the last node recovered post reboot.
format: date-time -
The time when the last node was undrained.
format: date-time -
Result is the overall result of the reboot operation. It can be one of the following values: - "Success": All reboots were successfully performed. - "Failed": No reboots were successfully performed. - "PartialSuccess": Some reboots were successfully performed, but not all.
enum: "Success", "Failed", "PartialSuccess"