Updated on 2022-10-14 GMT+08:00

Cluster Groups

A cluster group is a collection of clusters. UCS can set permission policies for cluster groups to implement refined permission management.

  • Only the Huawei Cloud account or members of the IAM admin user group can create or delete cluster groups.
  • The UCS automatically creates a cluster group named default as the default cluster group.
  • The new cluster group must be associated with the admin permission policy, which has the administrator permission of the UCS by default. For details, see Permission Policies.
  • A cluster can be added to only one cluster group.

Creating a Cluster Group

  1. Log in to the UCS console. In the navigation pane, choose Container Cluster. Click Create Cluster Group.
  2. Enter the cluster group information, as shown in Figure 1.

    Figure 1 Creating a cluster group
    • Cluster Group Name: Enter a cluster group name. The name must start with a lowercase letter and consist of lowercase letters, digits, and hyphens (-). It cannot end with a hyphen (-).
    • Add Cluster: Select an existing cluster. If you do not select any cluster, an empty cluster group will be created. For details about how to create a cluster group, see Adding a Cluster.
    • Associate Permission Policy: Select an existing permission policy. You can select multiple permission policies. The new cluster group must be associated with the admin permission policy.
    • Description: description of the cluster group to be added.

  3. Click OK.

Adding a Cluster

  1. Log in to the UCS console. In the navigation pane, choose Container Clusters.
  2. In the Target Cluster Group area, click Add Cluster, or click in the upper right corner.

    You can also click the cluster group name to go to the cluster group details page and click Add Cluster.

    Figure 2 Adding a cluster to a cluster group

  3. Select one or more existing clusters. A cluster can be added to only one cluster group. If the selected cluster is already in a cluster group, the cluster will be automatically removed from the original cluster group after being added to a new cluster group.

    Figure 3 Adding a cluster

  4. Click OK.

Associating a Permission Policy

  1. Log in to the UCS console. In the navigation pane, choose Container Clusters.
  2. In the row of the target cluster group, click in the upper right corner.

    Figure 4 Associating a permission policy with a cluster group

  3. Select one or more existing permission policies. A cluster group can be associated with multiple permission policies.

    Figure 5 Associating a permission policy

  4. Click OK to associate the permission policy.