Viewing an egress firewall for a project¶
As a cluster administrator, you can list the names of any existing egress firewalls and view the traffic rules for a specific egress firewall.
View an EgressFirewall custom resource (CR)¶
You can view an EgressFirewall CR in your cluster.
Prerequisites
- A cluster using the OVN-Kubernetes network plugin.
- Install the OpenShift Command-line Interface (CLI), commonly known as
oc. - You must log in to the cluster.
Procedure
-
Optional: To view the names of the
EgressFirewallCR defined in your cluster, enter the following command: -
To inspect a policy, enter the following command. Replace
<policy_name>with the name of the policy to inspect.