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-about.adoc
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,22 +193,27 @@ When using the automatic assignment approach for egress IP addresses the followi
193
193
194
194
- You set the `egressCIDRs` parameter of each node's `HostSubnet` resource to indicate the range of egress IP addresses that can be hosted by a node.
195
195
{product-title} sets the `egressIPs` parameter of the `HostSubnet` resource based on the IP address range you specify.
196
+
ifeval::[{product-version} < 4.8]
196
197
- Only a single egress IP address per namespace is supported when using the automatic assignment mode.
198
+
endif::[]
197
199
198
200
If the node hosting the namespace's egress IP address is unreachable, {product-title} will reassign the egress IP address to another node with a compatible egress IP address range.
199
201
The automatic assignment approach works best for clusters installed in environments with flexibility in associating additional IP addresses with nodes.
200
202
201
203
[id="considerations-manual-egress-ips"]
202
204
== Considerations when using manually assigned egress IP addresses
203
205
206
+
This approach is recommended for clusters installed in public cloud environments, where there can be limitations on associating additional IP addresses with nodes.
207
+
204
208
When using the manual assignment approach for egress IP addresses the following considerations apply:
205
209
206
210
- You set the `egressIPs` parameter of each node's `HostSubnet` resource to indicate the IP addresses that can be hosted by a node.
207
211
- Multiple egress IP addresses per namespace are supported.
208
212
209
-
When a namespace has multiple egress IP addresses, if the node hosting the first egress IP address is unreachable, {product-title} will automatically switch to using the next available egress IP address until the first egress IP address is reachable again.
213
+
If a namespace has multiple egress IP addresses and those addresses are hosted on multiple nodes, the following additional considerations apply:
210
214
211
-
This approach is recommended for clusters installed in public cloud environments, where there can be limitations on associating additional IP addresses with nodes.
215
+
- If a pod is on a node that is hosting an egress IP address, that pod always uses the egress IP address on the node.
216
+
- If a pod is not on a node that is hosting an egress IP address, that pod uses an egress IP address at random.
You can set `egressIPs` to two or more IP addresses on different nodes to
43
-
provide high availability. If multiple egress IP addresses are set, pods use the
44
-
first IP in the list for egress, but if the node hosting that IP address fails,
45
-
pods switch to using the next IP in the list after a short delay.
45
+
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
46
47
47
. Manually assign the egress IP to the node hosts. Set the `egressIPs` parameter
48
48
on the `HostSubnet` object on the node host. Using the following JSON, include
49
-
as many IPs as you want to assign to that node host:
49
+
as many IP addresses as you want to assign to that node host:
In the previous example, all egress traffic for `project1` will be routed to the
74
-
node hosting the specified egress IP, and then connected (using NAT) to that IP
75
-
address.
78
+
In the previous example, all egress traffic for `project1` will be routed to the node hosting the specified egress IP, and then connected through Network Address Translation (NAT) to that IP address.
0 commit comments