$ oc get -n <project> egressnetworkpolicy
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.
As a cluster administrator, you can remove an egress firewall from a project.
A cluster using the OpenShift SDN 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.
Find the name of the egressNetworkPolicy object for the project. Replace <project>
with the name of the project.
$ oc get -n <project> egressnetworkpolicy
Enter the following command to delete the egressNetworkPolicy object. Replace <project>
with the name of the project and <name>
with the name of the object.
$ oc delete -n <project> egressnetworkpolicy <name>