This section describes how to create cluster labels.

Prerequisites

You need to have the Cluster Management permission on the KubeSphere platform.

Steps

  1. Log in to the KubeSphere web console as a user with Cluster Management permissions.

  2. Click Cluster Management.

  3. On the Cluster Management page, click the Label Management tab to open the cluster label list.

  4. Click Create on the page.

  5. In the Create Label dialog box, set the key and value for the label, then click Create.

    • Click Add to create multiple labels simultaneously.

    • Click trash-light on the right side of an added label to delete it.

    After creation, the labels will be displayed in the label list.