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.
Notes and Constraints
- Do not add more than 1000 pods to the same security group. Otherwise, the security group performance may be impacted.
- Exercise caution when modifying the security group rules of a master node.
Procedure
- Log in to the CCE console. In the navigation pane, choose Clusters.
- Click the cluster name to access the Overview page.
- In the Networking Configuration area, click Edit next to the Default Node Security Group.
Figure 1 Default node security group
- 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.
Figure 2 Editing default node security group
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.