You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/nw-egress-ips-assign.adoc
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ You can assign one or more egress IP addresses to a namespace or to specific pod
17
17
18
18
. Create an `EgressIP` object:
19
19
.. 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:
21
21
+
22
22
[source,yaml]
23
23
----
@@ -49,3 +49,10 @@ egressips.k8s.ovn.org/<egressips_name> created
49
49
----
50
50
51
51
. 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