Skip to content

Commit a38048d

Browse files
authored
Merge pull request #56004 from dulek/lb
OCPBUGS-7229: OpenStack: Add load balancer Services limitations
2 parents e550e94 + 8af248f commit a38048d

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Module included in the following assemblies:
2+
// * networking/nw-osp-loadbalancer-limitations.adoc
3+
4+
:_content-type: CONCEPT
5+
[id="nw-osp-loadbalancer-etp-local_{context}"]
6+
= Local external traffic policies
7+
8+
You can set the external traffic policy (ETP) parameter, `.spec.externalTrafficPolicy`, on a load balancer service to preserve the source IP address of incoming traffic when it reaches service endpoint pods. However, if your cluster uses the Amphora Octavia provider, the source IP of the traffic is replaced with the IP address of the Amphora VM. This behavior does not occur if your cluster uses the OVN Octavia provider.
9+
10+
Having the `ETP` option set to `Local` requires that health monitors be created for the load balancer. Without health monitors, traffic can be routed to a node that doesn't have a functional endpoint, which causes the connection to drop. To force Cloud Provider OpenStack to create health monitors, you must set the value of the `create-monitor` option in the cloud provider configuration to `true`.
11+
12+
In {rh-openstack} 16.1 and 16.2, the OVN Octavia provider does not support health monitors. Therefore, setting the ETP to local is unsupported.
13+
14+
In {rh-openstack} 16.1 and 16.2, the Amphora Octavia provider does not support HTTP monitors on UDP pools. As a result, UDP load balancer services have `UDP-CONNECT` monitors created instead. Due to implementation details, this configuration only functions properly with the OVN-Kubernetes CNI plugin. When the OpenShift SDN CNI plugin is used, the UDP services alive nodes are detected unreliably.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Module included in the following assemblies:
2+
// * networking/load-balancing-openstack.adoc
3+
// For thinking and reviewing, adding to networking/load-balancing-openstack.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="nw-osp-loadbalancer-limitations_{context}"]
7+
= Limitations of load balancer services
8+
9+
{product-title} clusters on {rh-openstack-first} use Octavia to handle load balancer services. As a result of this choice, such clusters have a number of functional limitations.
10+
11+
{rh-openstack} Octavia has two supported providers: Amphora and OVN. These providers differ in terms of available features as well as implementation details. These distinctions affect load balancer services that are created on your cluster.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Module included in the following assemblies:
2+
// * networking/nw-osp-loadbalancer-limitations.adoc
3+
4+
:_content-type: CONCEPT
5+
[id="nw-osp-loadbalancer-source-ranges_{context}"]
6+
= Load balancer source ranges
7+
8+
Use the `.spec.loadBalancerSourceRanges` property to restrict the traffic that can pass through the load balancer according to source IP. This property is supported for use with the Amphora Octavia provider only. If your cluster uses the OVN Octavia provider, the option is ignored and traffic is unrestricted.

networking/load-balancing-openstack.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9+
include::modules/nw-osp-loadbalancer-limitations.adoc[leveloffset=+1]
10+
include::modules/nw-osp-loadbalancer-etp-local.adoc[leveloffset=+2]
11+
include::modules/nw-osp-loadbalancer-source-ranges.adoc[leveloffset=+2]
912
include::modules/installation-osp-kuryr-octavia-upgrade.adoc[leveloffset=+1]
1013
include::modules/installation-osp-api-octavia.adoc[leveloffset=+1]
1114
include::modules/installation-osp-api-scaling.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)