Known Labels and Known Keys
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.
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
Sharedoption in the namespace selector.
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
- Enter values for the key in the
Label valuesfield. Use the
Add Label Valueoption to add more than one value.
Add Keyto complete creating the key-value pairs.
Step 3: Verify that the known labels are created.
Known Labels. Verify that the labels are displayed as key-value pairs for the known key created in previous step.
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
Labelsfield to add labels.
Delete Known Label
To delete a known label, do the following:
- Go to
Known Labels. A list of labels is displayed as key-value pairs.
Delete labelfor 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
Known Keysand click
Delete Keyfor the key you want to delete.