Deploy Image#
Workflows → DIDeploy Images
Documentation coming soon!
Custom Resource Definition#
To browse the Custom Resource Definition go to crd.eda.dev.
DeployImage
SPEC
Upgrade / downgrade images on targets. This workflow can be used directly on a target or list of targets, or with selectors to select targets through labels. It also supports tranches, which are groups of targets that can be upgraded together. By default a set of checks are run before and after the image change, but this can be controlled via the checks field. It also supports canaries, which are upgraded before any other targets.
-
List of node selectors to use to match canary nodes. This matches labels on TopoNode resources, including those TopoNodes in the list of nodes that will be imaged. Canary nodes are upgraded before any other nodes, and are used to test images before broader roll out. This is a list of label expressions, e.g. ["eda.nokia.com/role=canary"].
-
Configure drains to gracefully drain traffic away from nodes before imaging.
-
Seconds to wait before rebooting a node after it has been drained. This is used to allow time for any traffic to drain away from the node before reboot.
default: 60 -
Do not run any drain operations. Nodes will be rebooted without attempting to gracefully drain them.
-
-
Destination profile to use for imaging. This profile contains the image to deploy, and other configuration for the node.
-
List of node selectors to select nodes to deploy images on. This matches labels on TopoNode resources, including those TopoNodes in the list of nodes that will be imaged. 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 deploy images on.
-
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.
-
Seconds to wait for node to come back online after reboot.
default: 600 -
List of tranches to use for imaging. A tranche is a list of node selectors, and a name. Tranches are upgraded in order, sequentially.
-
-
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 deploy images on in this tranche. This matches labels on TopoNode resources, including those TopoNodes in the list of nodes that will be imaged. This is a list of label expressions, e.g. ["eda.nokia.com/role=leaf"].
-
-
STATUS
Status of the imaging operation.
-
Per-node image deployment details.
-
-
The time when the node was drained. This is the time when the node was drained before the imaging operation.
format: date-time -
The new profile of the node.
-
The new version of the node.
-
The name of the node this result is for.
-
Indicates if post checks were successful for this node. This is true if all post checks passed, false if any post checks failed.
-
Indicates if pre checks were successful for this node. This is true if all pre checks passed, false if any pre checks failed.
-
The previous profile of the node. This is the node profile that was running before the imaging operation.
-
The previous version of the node. This is the version of the image that was running before the imaging operation.
-
The time when the node was recovered after reboot. This is the time when the node was recovered after the imaging operation.
format: date-time -
The time when the node was rebooted. This is the time when the node was rebooted during the imaging operation.
format: date-time -
Indicates if the imaging operation was successful for this node. This is true if the imaging operation was successful, false if it failed.
-
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 image operation. It can be one of the following values: - "Success": All images were successfully deployed. - "Failed": No images were successfully deployed. - "PartialSuccess": Some images were successfully deployed, but not all.
enum: "Success", "Failed", "PartialSuccess"