Edit Network Policy Configuration
This section describes how to edit the configuration of a network policy.
Prerequisites
-
You need to join a cluster and have the Cluster Network Resource Management permission in the cluster. For more information, see Cluster Members and Cluster Roles.
-
The KubeSphere Network extension must be installed and enabled on the KubeSphere platform.
Steps
-
Log in to the KubeSphere web console with a user who has Cluster Network Resource Management permissions and enter your cluster.
-
Click Network > Network Policies in the left navigation pane.
-
To the right of the network policy you want to operate, click
, and then select Edit YAML from the drop-down list.
-
In the Edit YAML dialog box, modify the configuration of the network policy, and then click OK.
For specific parameters of the network policy configuration file, please refer to the Kubernetes official documentation.