Tag Management¶
This section describes how to search for clusters based on tags and how to add, modify, and delete tags for clusters.
Adding a Tag to a Cluster¶
On the Clusters page, click the name of the cluster to which a tag is to be added, and click the Tags tab.
Figure 1 Tags page¶
Click Add Tag.
Configure the tag parameters in the displayed dialog box.
Figure 2 Adding a tag to a cluster¶
Table 1 Tag parameters¶ Parameter
Description
Example Value
Tag key
You can:
Select a predefined tag key or an existing resource tag key from the drop-down list of the text box.
Note
To add a predefined tag, you need to create one on TMS and select it from the drop-down list of Tag key. You can click View predefined tags to enter the Predefined Tags page of TMS. Then, click Create Tag to create a predefined tag. For more information, see "Management > Predefined Tags > Creating Predefined Tags" in the Tag Management Service User Guide.
Enter a tag key in the text box. The tag key can contain a maximum of 36 characters and cannot be an empty string.
Only digits, letters, underscores (_), and hyphens (-) are allowed.
Note
A key must be unique in a given cluster.
key01
Tag value
You can:
Select a predefined tag value or resource tag value from the drop-down list of the text box.
Enter a tag value in the text box. The tag key can contain a maximum of 43 characters and cannot be an empty string.
Only digits, letters, underscores (_), periods (.), and hyphens (-) are allowed.
value01
Click OK.
Modifying a Tag¶
On the Clusters page, click the name of the cluster for which a tag is to be modified, and click the Tags tab.
Locate the row that contains the tag to be modified, and click Edit in the Operation column. The Edit Tag dialog box is displayed.
Figure 5 Editing a tag¶
Enter the new key value in the Value text box.
Click OK.
Deleting a Tag¶
On the Clusters page, click the name of the cluster from which a tag is to be deleted, and click the Tags tab.
Locate the row that contains the tag to be deleted, click Delete in the Operation column. The Delete Tag dialog box is displayed.
Figure 6 Deleting a tag¶
Click Yes to delete the tag.