< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Edit Network Policy Information

This section introduces how to edit network policy information.

You can edit the alias and description of a network policy. KubeSphere does not support editing the name of a created network policy.

Prerequisites

  • You should join a cluster and have the Cluster Network Resource Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

  • KubeSphere Network should have been installed and enabled.

Steps

  1. Log in to the KubeSphere web console with a user who has the Cluster Network Resource Management permission, and access your cluster.

  2. Click Network > Network Policies in the left navigation pane.

  3. Click more on the right side of the network policy you want to edit, and then select Edit Information from the dropdown list.

  4. In the Edit Information dialog box, set the alias and description of the network policy, and then click OK.

    ParameterDescription

    Alias

    The alias of the network policy. Network policies in different projects can have the same alias. The alias can only contain Chinese characters, letters, numbers, and hyphens (-), and cannot start or end with a hyphen (-), with a maximum length of 63 characters.

    Description

    The description information of the network policy. The description can contain any characters, with a maximum of 256 characters.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page