Chapter 11. Managing cluster labels


Add a label to your cluster to select group resources. See Labels and Selectors for more information.

You can add new labels, remove existing labels, and edit existing labels for your clusters. Complete the following steps to manage your labels:

  1. From the navigation menu, click Infrastructure > Clusters.
  2. Find your cluster in the Clusters table.
  3. Click Options to see the options in the menu.
  4. Select Edit labels.
  5. In the Edit labels dialog box, enter a label. Your entry might resemble the following content: Key=Value.
  6. Press enter, add a comma, or add a space to add additional labels.
  7. Click Save when you enter your last one. Labels are only saved after you click Save.
  8. Close the Edit labels pane, when you are finished.

    • If you want to remove an existing label, click the Remove icon for the label that you want to remove in the list.
    • If you want to update an existing label, you can reassign its key to a new value by adding a new label using the same key with a different value. For example, you can change Key=Value by entering Key=NewValue to update the value of Key.

Tip: You can also edit a cluster label from the cluster details page. In the navigation menu, click Infrastructure > Clusters. From the Clusters page, access the details page for the cluster by clicking the name of the cluster. Select the Edit icon in the Labels section. The Edit labels dialog box is displayed.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.