Add Cluster Tags

This section explains how to add cluster tags.

You can use tags to categorize and manage clusters.

Prerequisites

  • You should have the Cluster Management permission on the KubeSphere platform. For more information, refer to “Platform Roles”.

  • You need to create cluster tags in advance. For more information, please refer to Create Cluster Tags.

Add Tags to a Single Cluster

  1. Log in to the KubeSphere web console with a user who has the Cluster Management permission.

  2. Click Cluster Management.

  3. Click the more icon on the right side of the cluster you want to add tags, then select Add Tags from the dropdown list.

  4. In the Add Tags dialog, choose the key and value for the tag, click Add, and then click OK.

    After adding the tags, you can search for clusters by tags by clicking on the search box above the cluster list.

Add Tags to Multiple Clusters

  1. Log in to the KubeSphere web console with a user who has the Cluster Management permission.

  2. Click Cluster Management.

  3. Click Batch Manage at the top right corner of the cluster list.

  4. Select the checkbox on the left side of the clusters where you want to add tags, then click Add Tags at the top of the list.

  5. In the Add Tags dialog, choose the key and value for the tag, click Add, and then click OK.

    After adding the tags, you can search for clusters by tags by clicking on the search box above the cluster list.