This is a cache of https://docs.okd.io/4.17/networking/network_security/egress_firewall/removing-egress-firewall-ovn.html. It is a snapshot of the page at 2025-11-19T00:28:37.353+0000.
Removing an <strong>egress</strong> firewall from a project - Network security | Networking | OKD 4.17
×

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 CR

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

Prerequisites
  • A cluster using the OVN-Kubernetes network plugin.

  • Install the OpenShift CLI (oc).

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

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

    $ oc get egressfirewall -n <project>
  2. Delete the egressFirewall CR by entering the following command. Replace <project> with the name of the project and <name> with the name of the object.

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