This is a cache of https://docs.okd.io/4.6/networking/ovn_kubernetes_network_provider/removing-egress-firewall-ovn.html. It is a snapshot of the page at 2024-11-22T02:20:50.734+0000.
Removing an <strong>egress</strong> firewall from a project - OVN-Kubernetes default CNI network provider | Networking | OKD 4.6
×

As a cluster administrator, you can remove an egress firewall from a project to remove all restrictions on network traffic from the project that leaves the OKD cluster.

Removing an egressFirewall object

As a cluster administrator, you can remove an egress firewall from a project.

Prerequisites
  • A cluster using the OVN-Kubernetes default Container Network Interface (CNI) network provider plug-in.

  • Install the OpenShift CLI (oc).

  • You must log in to the cluster as a cluster administrator.

Procedure
  1. Find the name of the egressFirewall object for the project. Replace <project> with the name of the project.

    $ oc get -n <project> egressfirewall
  2. Enter the following command to delete the egressFirewall object. Replace <project> with the name of the project and <name> with the name of the object.

    $ oc delete -n <project> egressfirewall <name>