Help Center> Host Security Service (New)> User Guide> Prevention> Container Firewalls> Managing Network Policies (for a Cluster Using the Container Tunnel Network Model)
Updated on 2024-03-28 GMT+08:00

Managing Network Policies (for a Cluster Using the Container Tunnel Network Model)

You can modify or delete the policies of a cluster using the container tunnel network model.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, select a region, click , and choose Security & Compliance > HSS.
  3. In the navigation pane on the left, choose Prevention > Container Firewalls.
  4. (Optional) If you have enabled the enterprise project, select the enterprise project where the target server resides from the drop-down list.
  5. Click Manage Policy in the Operation column of a cluster using the VPC network model.
  6. Click Synchronize above the network policy list.

    The task takes about 1 to 2 minutes. Wait for a while and click in the upper right corner of the list to refresh and view the latest data.

  7. Manage policies as needed.

    • Modifying a policy
      • In the Operation column of a policy, click Edit YAML. On the YAML page, modify the YAML content and click OK.
      • In the Operation column of a policy, click Update. Modify the network policy information and click OK.
    • Deleting a policy
      • In the Operation column of a policy, click Delete. In the confirmation dialog box, click OK.
      • Select one or multiple policies and click Delete above the policy list. In the displayed dialog box, click OK.