Adding a Tag to a Cluster¶
Tags are used to identify clusters. Adding tags to clusters can help you identify and manage your cluster resources.
You can add a maximum of 10 tags to a cluster when creating the cluster or add them on the details page of the created cluster.
A tag consists of a tag key and a tag value. Table 1 provides tag key and value requirements.
Parameter | Requirement | Example |
---|---|---|
Key | A tag key cannot be left blank. A tag key must be unique in a cluster. A tag key contains a maximum of 36 characters. A tag value cannot contain special characters | Organization |
Value | A tag value contains a maximum of 43 characters. A tag value cannot contain special characters | Apache |
Searching for the Target Cluster¶
On the Active Clusters page, search for the target cluster by tag key or tag value.
Log in to the MRS console.
In the upper right corner of the Active Clusters page, click Search by Tag to access the search page.
Enter the tag of the cluster to be searched.
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.
Click Search.
The system searches for the target cluster by tag key or value.