Help Center/ Cloud Container Engine/ User Guide (Ankara Region)/ Clusters/ Managing a Cluster/ Changing the Default Security Group of a Node
Updated on 2024-12-04 GMT+08:00

Changing the Default Security Group of a Node

Scenario

When creating a cluster, you can customize a node security group to centrally manage network security policies. For a created cluster, you can change its default node security group.

Constraints

  • Do not add more than 1000 pods to the same security group. Otherwise, the security group performance may be impacted.
  • The security group of the master node cannot be specified. Exercise caution when modifying the security group rules of the master node.

Procedure

  1. Log in to the CCE console. In the navigation pane, choose Clusters.
  2. Click the cluster name to access the Overview page.
  3. In the Network Configuration area, click next to the Default Node Security Group.
  4. Select an existing security group, confirm that the security group rules meet the cluster requirements, and click OK.

    • Ensure that correct port rules are configured for the selected security group. Otherwise, the node cannot be created. The port rules that a security group must comply with vary with the cluster type.
    • The new security group takes effect only for newly created or managed nodes. For existing nodes, modify the security group rules and reset the nodes in real time. The original security group is still used.