1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/nw-egress-firewall-delete.adoc

32 lines
955 B
Plaintext

// Module included in the following assemblies:
//
// * networking/ovn_kubernetes_network_provider/removing-egress-firewall-ovn.adoc
:_mod-docs-content-type: PROCEDURE
[id="nw-egress-firewall-delete_{context}"]
= 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
. Find the name of the `EgressFirewall` CR for the project. Replace `<project>` with the name of the project.
+
[source,terminal,subs="attributes+"]
----
$ oc get egressfirewall -n <project>
----
. 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.
+
[source,terminal,subs="attributes+"]
----
$ oc delete -n <project> egressfirewall <name>
----