Edit an existing network policy that governs how your pods communicate with each other.

Prerequisites

Log in to the Tanzu Mission Control console, go to the Policies page and view the network policies for the object, as described in View the Policy Assignments for an Object.

Make sure you have the appropriate permissions.
  • To edit the network policy for an object, you must be associated with the .admin role for that object.

Procedure

  1. On the Policies page, click the Network tab.
  2. Use the tree control to navigate to and select the object whose network policy you want to edit.
  3. Click the policy name to display the recipe type used in the policy.
  4. Click Edit.
  5. Edit the policy.
    You cannot change the recipe type for an existing network policy.
    • To remove an existing label, click the delete icon.
    • To add another label, enter the key and value, and then click Add Label.
    • To remove a port specification, delete the value in the Port field.
    • To remove an IP block location specification, delete the value in the Allow IP Range field.
  6. After you finish editing the policy, click Save.

Results

When you click Save, the updated policy is applied to the object and is displayed on the Policies page.