Skip to content

Commit 829ffaa

Browse files
authored
Merge pull request #32639 from ctauchen/BZ#1960736
BZ1960736: Added warning to not create NetNamespace objects
2 parents b7f3eac + 00adf26 commit 829ffaa

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

modules/nw-egress-ips-automatic.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ for a specific namespace across one or more nodes.
1010

1111
.Prerequisites
1212

13-
* Install the OpenShift CLI (`oc`).
14-
* Access to the cluster as a user with the `cluster-admin` role.
13+
* You have access to the cluster as a user with the `cluster-admin` role.
14+
* You have installed the OpenShift CLI (`oc`).
1515

1616
.Procedure
1717

@@ -46,6 +46,11 @@ $ oc patch netnamespace project2 --type=merge -p \
4646
'{"egressIPs": ["192.168.1.101"]}'
4747
----
4848
+
49+
[NOTE]
50+
====
51+
Because OpenShift SDN manages the `NetNamespace` object, you can make changes only by modifying the existing `NetNamespace` object. Do not create a new `NetNamespace` object.
52+
====
53+
4954
. Indicate which nodes can host egress IP addresses by setting the `egressCIDRs`
5055
parameter for each host using the following JSON:
5156
+

modules/nw-egress-ips-static.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ In {product-title} you can associate one or more egress IP addresses with a name
99

1010
.Prerequisites
1111

12-
* Install the OpenShift CLI (`oc`).
13-
* Access to the cluster as a user with the `cluster-admin` role.
12+
* You have access to the cluster as a user with the `cluster-admin` role.
13+
* You have installed the OpenShift CLI (`oc`).
1414

1515
.Procedure
1616

@@ -43,6 +43,11 @@ $ oc patch netnamespace project1 --type=merge \
4343
----
4444
+
4545
To provide high availability, set the `egressIPs` value to two or more IP addresses on different nodes. If multiple egress IP addresses are set, then pods use all egress IP addresses roughly equally.
46+
+
47+
[NOTE]
48+
====
49+
Because OpenShift SDN manages the `NetNamespace` object, you can make changes only by modifying the existing `NetNamespace` object. Do not create a new `NetNamespace` object.
50+
====
4651

4752
. Manually assign the egress IP to the node hosts. Set the `egressIPs` parameter
4853
on the `HostSubnet` object on the node host. Using the following JSON, include

0 commit comments

Comments
 (0)