Configure Cluster Network Policies
Cluster network policies are responsible for managing project-level access control rules. When this feature is enabled, different projects are isolated from each other by default, and compute components in different projects cannot access each other over the network. Communication can be achieved by adding single project access or IP segment access rules.
Once configured, the cluster network policies will be synchronized to the namespaces under the cluster, and can be viewed in the Network Policies feature module of the container platform.
TOC
Notes
-
The effectiveness of the cluster network policies depends on whether the network plugin used by the cluster supports network policies.
- Kube-OVN and Calico support network policies.
- Flannel does not support network policies.
- When accessing the cluster or using a custom network plugin, you can refer to the relevant documentation to confirm support.
-
The functionality is in Alpha maturity under the Kube-OVN network mode.
Procedure
-
Go to Platform Management.
-
In the left navigation bar, click on Network Management > Cluster Network Policies.
-
Click Configure Now.
-
Follow the instructions below to complete the relevant configuration.
-
Click Configure.