Known Labels and Known Keys

Objective

This guide provides instructions on how to manage known labels and known keys using VoltConsole. Known label is a key-value pair that can be attached to objects for referencing the objects using the label. To know conceptual information on known labels and keys, see Known Labels and Known Keys.

Using the instructions provided in this guide, you can create known key-value pairs, apply them to different objects, and delete the known labels.


Prerequisites

A valid Volterra Account.

Note: If you do not have an account, see Create a Volterra Account.


Create Known Label

Creating a known label involves creating a known key and defining a value for the key, thereby creating a key-value pair. You can define multiple values for a key to create more known labels (key-value pairs).

Perform the following in VoltConsole to create known key-value pair:

Step 1: Start creating a known key.
  • Log into VoltConsole and click on the Shared option in the namespace selector.
  • Select Manage -> Labels -> Known Keys.

LabelNavigate
Figure: Label Configuration in Shared Namespace

  • Click Add Known key.
Step 2: Configure the key-value pairs.
  • Enter a name for the key in the Label Key (Required) field. Optionally, enter a description in the Label description field.
  • Enter values for the key in the Label values field. Use the Add Label Value option to add more than one value.

add key
Figure: Add Known Key-Value Pair

  • Click Add Key to complete creating the key-value pairs.
Step 3: Verify that the known labels are created.

Go to Manage->Labels -> Known Labels. Verify that the labels are displayed as key-value pairs for the known key created in previous step.

label verify
Figure: List of Known Labels

Note: After creating the labels, you can apply them to an object such as network interface while creating it or updating it. The metadata section for any object has the Labels field to add labels.


Delete Known Label

To delete a known label, do the following:

  • Go to Manage->Labels -> Known Labels. A list of labels is displayed as key-value pairs.
  • Select ... -> Delete label for a key-value pair you want to delete. Confirm the deletion when prompted.

Note: To delete a known key, first you must delete all key-value pairs for that key. After that, go to Manage->Labels -> Known Keys and click ... -> Delete Key for the key you want to delete.


Concepts