Skip to content

Commit 6a6f9db

Browse files
author
Christopher Tauchen
authored
Merge pull request #38738 from chinmayi-chandrasekar/BZ1954146_egress_with_ovn
BZ1954146: add labels to namespace while using egress with ovn
2 parents b298d28 + dc1ac17 commit 6a6f9db

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

modules/nw-egress-ips-assign.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can assign one or more egress IP addresses to a namespace or to specific pod
1717

1818
. Create an `EgressIP` object:
1919
.. Create a `<egressips_name>.yaml` file where `<egressips_name>` is the name of the object.
20-
.. In the file that you created, define an `EgressIPs` object, as in the following example:
20+
.. In the file that you created, define an `EgressIP` object, as in the following example:
2121
+
2222
[source,yaml]
2323
----
@@ -49,3 +49,10 @@ egressips.k8s.ovn.org/<egressips_name> created
4949
----
5050

5151
. Optional: Save the `<egressips_name>.yaml` file so that you can make changes later.
52+
. Add labels to the namespace that requires egress IP addresses. To add a label to the namespace of an `EgressIP` object defined in step 1, run the following command:
53+
+
54+
[source,terminal]
55+
----
56+
$ oc label ns <namespace> env=qa <1>
57+
----
58+
<1> Replace `<namespace>` with the namespace that requires egress IP addresses.

0 commit comments

Comments
 (0)