Skip to content

Labels

Labels are a useful feature that help with the organization of nodes and workloads. They can be defined and used freely. All labels that have been created are listed in the labels menu.

Label List

Item Description
Search bar (1) Use the search bar to filter labels by key.
Merge labels (2) Select this to merge existing labels.
Add new label (3) Select this to add a new label consisting of label key and label value.
Key (4) This is the key of the label. It can be understood as the "category" of the label. Examples of label keys are location, machine number or hardware.
Value (5) This is the value of the label. It corresponds to the key of the label. Examples are Vienna, Machine 1 or MFN 100.
Action (6) This column contains icons representing different actions. Here, it contains a garbage can icon for deleting labels.

Adding a new label

Labels can be defined with any key and value. Note that labels are displayed in the <key>:<value> format in the Management System. The key of a label can be understood as the category of a label with the value being an item in that category. Example: Location:Vienna.

  1. Select Labels Symbol Labels in the menu on the left side.
  2. Select the Add new label icon add new label in the upper-right corner.
  3. Enter or choose the following information:

    Save New Label

    Item Description
    Label key (1) Enter the "category" of the label or select an existing one from the drop-down menu. For example: Hardware.
    Label value (2) Enter the value for the label here or select an existing one from the drop-down menu. Example: MFN 100.

    Note

    Label keys must consist of one word only. Use - and _ as separators.
    Also, only use alphanumeric characters (a-z, A-Z, 0-9) and underscore (_). Any other special characters are not allowed.

  4. Select Save to add the new label.

The label now appears in the label list and can be used in the Management System. Labels can be assigned to nodes when node details are edited. For more information refer to Assign labels to a node.

In the workload provisioning process they can be chosen as selectors. For more information refer to Adding labels to a workload.

Editing a label

Editing a label is virtually identical to the process of creating a new label. Note that labels will be edited even if they are currently assigned to nodes or used as selectors by workloads.

  1. Select Labels Symbol Labels in the menu on the left side.
  2. Select a label in the list to edit.
  3. Edit Label key (1) and Label value (2).

    Edit Label

    Note

    Label keys must consist of one word only. Use - and _ as separators.
    Also, only use alphanumeric characters (a-z, A-Z, 0-9) and underscore (_). Any other special characters are not allowed.

  4. Select Save to update the label.

Merging labels

Labels with overlapping information or typos can be merged into one. However, only label keys are merged. The label values are left untouched and assigned to the new label key.

  1. Select Labels Symbol Labels in the menu on the left side.
  2. Select the Merge labels icon in the upper-right corner.
  3. Tick the checkboxes left of the labels in the column Keys (2) that will be merged. Multiple labels can be selected.
  4. Select Merge.

    Merge Labels

    Note

    The table here gives the following information:

    • Case (3)
      The system checks if labels that use the same characters are also written in the same case. A blue check mark Blue check mark indicates that the case matches. A circled red exclamation mark appears Red exclamation mark if the case does not match.

    • Number Of Occurrences (4)
      The number here indicates how many labels have been defined with the same label key.

  5. Type in the new name for the label key.

    Merge Labels

  6. Select Save to save the new label.

Note

If labels have the same label key but are not written in the same case, the Management System will recognize it. In this case, select FIX CASE (5) in the list, type in the new name for the label key and select Save.

Deleting a label

Note that when a label is deleted from the list, it will also be deleted from any node or workload that had the label assigned.

  1. Select Labels Symbol Labels in the menu on the left side.
  2. Select the Delete icon delete icon in the Action column of the label you want to delete.

    Delete Label

  3. Select Yes to delete the label.

Manage node labels

Assign labels to a node

You can assign a label to a node in the Nodes menu. It is recommended to create labels before they are added to nodes. For more information about how to create a label, refer to Adding a new label.

  1. Select Nodes Symbol Nodes > View in the navigation on the left.
  2. Select a node from the list to which you want to assign a label.
  3. Select the tab Labels.

    Nodes List

  4. Select a label key from the drop-down list New label key.

  5. Select a label value from the drop-down list New label value.
  6. Select the Add new label icon Add new label to assign the label to the node.

Unassign labels from a node

You can unassign a label from a node in the Nodes menu.

  1. Select Nodes Symbol Nodes > View in the navigation on the left.
  2. Select a node from the list from which you want to unassign a label.
  3. Select the tab Labels.
  4. Select the Unassign label icon Unassign label icon next to the label you want no longer to be assigned to the node.
  5. Select the Confirm icon Confirm icon to unassign the label.

Modify a node’s assigned label

You can modify a node’s assigned label in the Nodes menu.

  1. Select Nodes Symbol Nodes > View in the navigation on the left.
  2. Select a node from the list from which you want to unassign a label.
  3. Select the tab Labels.
  4. Select the Edit Label icon edit icon.
  5. Select a new value.
  6. Select the Confirm icon confirm icon to save the modification.

Adding a label to a workload

Adding a label to a workload is done in the Workloads menu. It is recommended to create labels before they are added to workloads. Note that only pre-defined labels can be added to workloads. For more information about how to create a label, refer to Adding a new label.

  1. Select Workloads icon Workloads in the navigation on the left.
  2. Select a workload to which a label will be assigned.

    Workloads List

  3. Select the workload version to which a label will be assigned.

    Select Workload Version

  4. Select the Insert label field. Available labels will be displayed.

    Type Label String

  5. Select a label from the suggestions.

  6. Select Save to save the changes.