Skip to content

Commit aa5b64f

Browse files
authored
Merge pull request #35287 from jboxman/OSDOCS-2225
OSDOCS-2225: Multiple egressIPs are load balanced with OVN-Kubernetes
2 parents c912306 + 30846d1 commit aa5b64f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/nw-egress-ips-about.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ When creating an `EgressIP` object, the following conditions apply to nodes that
6565

6666
- An egress IP address is never assigned to more than one node at a time.
6767
- An egress IP address is equally balanced between available nodes that can host the egress IP address.
68-
- If the `spec.EgressIPs` array in an `EgressIP` object specifies more than one IP address, no node will ever host more than one of the specified addresses.
68+
- If the `spec.EgressIPs` array in an `EgressIP` object specifies more than one IP address, the following conditions apply:
69+
* No node will ever host more than one of the specified IP addresses.
70+
* Traffic is balanced roughly equally between the specified IP addresses for a given namespace.
6971
- If a node becomes unavailable, any egress IP addresses assigned to it are automatically reassigned, subject to the previously described conditions.
7072

7173
When a pod matches the selector for multiple `EgressIP` objects, there is no guarantee which of the egress IP addresses that are specified in the `EgressIP` objects is assigned as the egress IP address for the pod.
@@ -80,7 +82,7 @@ image::nw-egress-ips-diagram.svg[Architectural diagram for the egress IP feature
8082

8183
Both Node 1 and Node 3 are labeled with `k8s.ovn.org/egress-assignable: ""` and thus available for the assignment of egress IP addresses.
8284

83-
The dashed lines in the diagram depict the traffic flow from pod1, pod2, and pod3 traveling through the pod network to egress the cluster from Node 1 and Node 3. When an external service receives traffic from any of the pods selected by the example `EgressIP` object, the source IP address is either `192.168.126.10` or `192.168.126.102`.
85+
The dashed lines in the diagram depict the traffic flow from pod1, pod2, and pod3 traveling through the pod network to egress the cluster from Node 1 and Node 3. When an external service receives traffic from any of the pods selected by the example `EgressIP` object, the source IP address is either `192.168.126.10` or `192.168.126.102`. The traffic is balanced roughly equally between these two nodes.
8486

8587
The following resources from the diagram are illustrated in detail:
8688

0 commit comments

Comments
 (0)