Managing Tags

Tags are cluster identifiers. Adding tags to clusters can help you identify and manage your cluster resources.

You can add tags to a cluster when creating the cluster or add them on the details page of the created cluster.

Adding Tags to a Cluster

  1. Log in to the CSS management console.
  2. On the Create Cluster page, set Advanced Settings to Custom. Add tags for a cluster.

    You can select a predefined tag and set Tag value for the tag. You can click View predefined tags to switch to the TMS management console and view existing tags of the current user.

    You can also create new tags by specifying Tag key and Tag value.

    You can add a maximum of 10 tags for a CSS cluster. If the entered tag is incorrect, you can click Delete to the right of the tag to delete the tag. If you do not want to add tags, leave this parameter blank.

    Table 1 Naming rules for a tag key and value

    Parameter

    Description

    Tag key

    Cannot be left blank.

    Must be unique in a cluster.

    Contains a maximum of 36 characters.

    Can only consist of digits, letters, hyphens (-), and underscores (_).

    Tag value

    Can contain a maximum of 43 characters.

    Can only consist of digits, letters, hyphens (-), and underscores (_).

    Cannot be left blank.

Searching for Clusters by Tag

  1. Log in to the CSS management console.
  2. On the Clusters page, click Search by Tag in the upper right corner of the cluster list.
  3. Enter the target tag key and value.

    You can select a tag key or tag value from their drop-down lists. When the tag key or tag value is exactly matched, the system can automatically locate the target cluster. If you enter multiple tags, their intersections are used to search for the cluster.

    You can add a maximum of 10 tags at one time.

  4. Click Search.

    The system searches for the target cluster by tag key and value.

Tags Management

You can modify, delete, or add tags for a cluster.

  1. Log in to the CSS management console.
  2. On the Clusters page, click the name of a cluster for which you want to manage tags.

    The Basic Information page is displayed.

  3. Select the Tags tab, then you can add, modify, or delete tags on the displayed page.
    • View

      On the Tags page, you can view details about tags of the cluster, including the number of tags and the key and value of each tag.

    • Add

      Click Add Tag in the upper left corner. In the displayed Add Tag dialog box, enter the key and value of the tag to be added, and click OK.

    • Modify

      You can only change the value of an existing tag.

      In the Operation column of a tag, click Edit. In the displayed Edit Tag page, enter a new tag value and click OK.

    • Delete

      In the Operation column of the tag, click Delete. After confirmation, click Yes on the displayed Delete Tag page.