Skip to content

Commit 418e5dc

Browse files
authored
[OSDOCS-5261] TP - External load balancers in place of default for ShiftStack IPI (#57520)
1 parent 0cd0eb2 commit 418e5dc

5 files changed

+97
-0
lines changed

installing/installing_openstack/installing-openstack-installer-custom.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ In {product-title} version {product-version}, you can install a customized clust
2020
include::modules/installation-osp-default-deployment.adoc[leveloffset=+1]
2121
include::modules/installation-osp-control-compute-machines.adoc[leveloffset=+2]
2222
include::modules/installation-osp-bootstrap-machine.adoc[leveloffset=+2]
23+
include::modules/installation-load-balancing-user-infra.adoc[leveloffset=+2]
2324
include::modules/cluster-entitlements.adoc[leveloffset=+1]
2425
include::modules/installation-osp-enabling-swift.adoc[leveloffset=+1]
2526
include::modules/installation-registry-osp-creating-custom-pvc.adoc[leveloffset=+1]
@@ -50,6 +51,7 @@ After you deploy your cluster, you can attach pods to additional networks. For m
5051
====
5152

5253
include::modules/installation-osp-config-yaml.adoc[leveloffset=+2]
54+
include::modules/installation-osp-external-lb-config.adoc[leveloffset=+2]
5355
// include::modules/installation-osp-setting-worker-affinity.adoc[leveloffset=+1]
5456
include::modules/ssh-agent-using.adoc[leveloffset=+1]
5557
include::modules/installation-osp-accessing-api.adoc[leveloffset=+1]

installing/installing_openstack/installing-openstack-installer-kuryr.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ You can xref:../../networking/load-balancing-openstack.adoc#installation-osp-kur
3030
include::modules/installation-osp-kuryr-known-limitations.adoc[leveloffset=+2]
3131
include::modules/installation-osp-control-compute-machines.adoc[leveloffset=+2]
3232
include::modules/installation-osp-bootstrap-machine.adoc[leveloffset=+2]
33+
include::modules/installation-load-balancing-user-infra.adoc[leveloffset=+2]
3334
include::modules/cluster-entitlements.adoc[leveloffset=+1]
3435
include::modules/installation-osp-enabling-swift.adoc[leveloffset=+1]
3536
include::modules/installation-osp-verifying-external-network.adoc[leveloffset=+1]
@@ -41,6 +42,7 @@ include::modules/installation-configure-proxy.adoc[leveloffset=+2]
4142
include::modules/installation-configuration-parameters.adoc[leveloffset=+1]
4243
include::modules/installation-osp-custom-subnet.adoc[leveloffset=+2]
4344
include::modules/installation-osp-kuryr-config-yaml.adoc[leveloffset=+2]
45+
include::modules/installation-osp-external-lb-config.adoc[leveloffset=+2]
4446
include::modules/installation-osp-provider-networks.adoc[leveloffset=+2]
4547
include::modules/installation-osp-provider-network-preparation.adoc[leveloffset=+3]
4648
include::modules/installation-osp-deploying-provider-networks-installer.adoc[leveloffset=+3]

modules/installation-configuration-parameters.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,10 @@ You can also use this property to enable the QEMU guest agent by including the `
10491049
|IP addresses for external DNS servers that cluster instances use for DNS resolution.
10501050
|A list of IP addresses as strings. For example, `["8.8.8.8", "192.168.1.12"]`.
10511051

1052+
|`platform.openstack.loadbalancer`
1053+
|Whether or not to use the default, internal load balancer. If the value is set to `UserManaged`, this default load balancer is disabled so that you can deploy a cluster that uses an external, user-managed load balancer. If the parameter is not set, or if the value is `OpenShiftManagedDefault`, the cluster uses the default load balancer.
1054+
|`UserManaged` or `OpenShiftManagedDefault`.
1055+
10521056
|`platform.openstack.machinesSubnet`
10531057
|The UUID of a {rh-openstack} subnet that the cluster's nodes use. Nodes and virtual IP (VIP) ports are created on this subnet.
10541058

modules/installation-load-balancing-user-infra.adoc

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
// * installing/installing_ibm_z/installing-ibm-power.adoc
1717
// * installing/installing_ibm_z/installing-restricted-networks-ibm-power.adoc
1818
// * installing/installing-rhv-restricted-network.adoc
19+
// * installing/installing_openstack/installing-openstack-installer-custom.adoc
20+
// * installing/installing_openstack/installing-openstack-installer-kuryr.adoc
1921

2022
ifeval::["{context}" == "installing-vsphere"]
2123
:vsphere:
@@ -44,12 +46,37 @@ endif::[]
4446
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
4547
:restricted:
4648
endif::[]
49+
ifeval::["{context}" == "installing-openstack-installer-custom"]
50+
:user-managed-lb:
51+
endif::[]
52+
ifeval::["{context}" == "installing-openstack-installer-kuryr"]
53+
:user-managed-lb:
54+
endif::[]
4755

4856
:_content-type: CONCEPT
4957
[id="installation-load-balancing-user-infra_{context}"]
5058
= Load balancing requirements for user-provisioned infrastructure
5159

60+
ifndef::user-managed-lb[]
5261
Before you install {product-title}, you must provision the API and application ingress load balancing infrastructure. In production scenarios, you can deploy the API and application ingress load balancers separately so that you can scale the load balancer infrastructure for each in isolation.
62+
endif::user-managed-lb[]
63+
64+
ifdef::user-managed-lb[]
65+
[IMPORTANT]
66+
====
67+
[subs="attributes+"]
68+
Deployment with User-Managed Load Balancers is a Technology Preview feature only. Technology Preview features
69+
are not supported with Red Hat production service level agreements (SLAs) and
70+
might not be functionally complete. Red Hat does not recommend using them
71+
in production. These features provide early access to upcoming product
72+
features, enabling customers to test functionality and provide feedback during
73+
the development process.
74+
75+
For more information about the support scope of Red Hat Technology Preview features, see link:https://access.redhat.com/support/offerings/techpreview/[Technology Preview Features Support Scope].
76+
====
77+
78+
Before you install {product-title}, you can provision your own API and application ingress load balancing infrastructure to use in place of the default, internal load balancing solution. In production scenarios, you can deploy the API and application ingress load balancers separately so that you can scale the load balancer infrastructure for each in isolation.
79+
endif::user-managed-lb[]
5380

5481
[NOTE]
5582
====
@@ -166,9 +193,17 @@ plane initializes.
166193
====
167194

168195
[id="installation-load-balancing-user-infra-example_{context}"]
196+
ifndef::user-managed-lb[]
169197
== Example load balancer configuration for user-provisioned clusters
170198

171199
This section provides an example API and application ingress load balancer configuration that meets the load balancing requirements for user-provisioned clusters. The sample is an `/etc/haproxy/haproxy.cfg` configuration for an HAProxy load balancer. The example is not meant to provide advice for choosing one load balancing solution over another.
200+
endif::user-managed-lb[]
201+
202+
ifdef::user-managed-lb[]
203+
== Example load balancer configuration for clusters that are deployed with user-managed load balancers
204+
205+
This section provides an example API and application ingress load balancer configuration that meets the load balancing requirements for clusters that are deployed with user-managed load balancers. The sample is an `/etc/haproxy/haproxy.cfg` configuration for an HAProxy load balancer. The example is not meant to provide advice for choosing one load balancing solution over another.
206+
endif::user-managed-lb[]
172207

173208
[NOTE]
174209
====
@@ -277,4 +312,10 @@ ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
277312
endif::[]
278313
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
279314
:!restricted:
315+
endif::[]
316+
ifeval::["{context}" == "installing-openstack-installer-custom"]
317+
:!user-managed-lb:
318+
endif::[]
319+
ifeval::["{context}" == "installing-openstack-installer-kuryr"]
320+
:!user-managed-lb:
280321
endif::[]
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
:_content-type: REFERENCE
2+
[id="install-osp-external-lb-config_{context}"]
3+
= Installation configuration for a cluster on OpenStack with a user-managed load balancer
4+
5+
:FeatureName: Deployment on OpenStack with User-Managed Load Balancers
6+
include::snippets/technology-preview.adoc[]
7+
8+
The following example `install-config.yaml` file demonstrates how to configure a cluster that uses an external, user-managed load balancer rather than the default internal load balancer.
9+
10+
[source,yaml]
11+
----
12+
apiVersion: v1
13+
baseDomain: mydomain.test
14+
compute:
15+
- name: worker
16+
platform:
17+
openstack:
18+
type: m1.xlarge
19+
replicas: 3
20+
controlPlane:
21+
name: master
22+
platform:
23+
openstack:
24+
type: m1.xlarge
25+
replicas: 3
26+
metadata:
27+
name: mycluster
28+
networking:
29+
clusterNetwork:
30+
- cidr: 10.128.0.0/14
31+
hostPrefix: 23
32+
machineNetwork:
33+
- cidr: 192.168.10.0/24
34+
platform:
35+
openstack:
36+
cloud: mycloud
37+
machinesSubnet: 8586bf1a-cc3c-4d40-bdf6-c243decc603a <1>
38+
apiVIPs:
39+
- 192.168.10.5
40+
ingressVIPs:
41+
- 192.168.10.7
42+
loadBalancer:
43+
type: UserManaged <2>
44+
featureSet: TechPreviewNoUpgrade <3>
45+
----
46+
<1> Regardless of which load balancer you use, the load balancer is deployed to this subnet.
47+
<2> The `UserManaged` value indicates that you are using an user-managed load balancer.
48+
<3> Because user-managed load balancers are in Technology Preview, you must include the `TechPreviewNoUpgrade` value to deploy a cluster that uses a user-managed load balancer.

0 commit comments

Comments
 (0)