Skip to content

Commit d0f5537

Browse files
authored
Merge pull request #71011 from obrown1205/OSDOCS-9208-414
[OSDOCS#9208]: Docs work for IPI: ShiftStack dual stack support
2 parents 0b41c82 + 6c7628e commit d0f5537

File tree

2 files changed

+77
-26
lines changed

2 files changed

+77
-26
lines changed

modules/install-osp-deploy-dualstack.adoc

Lines changed: 76 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
.Procedure
99

10-
. Create a network with IPv4 and IPv6 subnets. The available address modes for `ipv6-ra-mode` and `ipv6-address-mode` fields are: `stateful`, `stateless` and `slaac`.
10+
. Create a network with IPv4 and IPv6 subnets. The available address modes for the `ipv6-ra-mode` and `ipv6-address-mode` fields are: `dhcpv6-stateful`, `dhcpv6-stateless`, and `slaac`.
1111
+
1212
[NOTE]
1313
====
@@ -24,15 +24,14 @@ DHCP must be enabled on the subnets.
2424
. Add the IPv6 subnet to the router to enable router advertisements. If you are using a provider network, you can enable router advertisements by adding the network as an external gateway, which also enables external connectivity.
2525

2626

27-
. To configure IPv4 and IPv6 address endpoints for cluster nodes, edit the `install-config.yaml` file. The following is an example of an `install-config.yaml` file.
28-
27+
. To configure IPv4 and IPv6 address endpoints for cluster nodes, edit the `install-config.yaml` file. The following is an example of an `install-config.yaml` file:
28+
+
2929
.Example `install-config.yaml`
3030

3131
[source, yaml]
3232
----
3333
apiVersion: v1
3434
baseDomain: mydomain.test
35-
featureSet: TechPreviewNoUpgrade <1>
3635
compute:
3736
- name: worker
3837
platform:
@@ -48,38 +47,95 @@ controlPlane:
4847
metadata:
4948
name: mycluster
5049
networking:
51-
machineNetwork: <2>
50+
machineNetwork: <1>
5251
- cidr: "192.168.25.0/24"
5352
- cidr: "fd2e:6f44:5dd8:c956::/64"
54-
clusterNetwork: <2>
53+
clusterNetwork: <1>
5554
- cidr: 10.128.0.0/14
5655
hostPrefix: 23
5756
- cidr: fd01::/48
5857
hostPrefix: 64
59-
serviceNetwork: <2>
58+
serviceNetwork: <1>
6059
- 172.30.0.0/16
6160
- fd02::/112
6261
platform:
6362
openstack:
64-
ingressVIPs: ['192.168.25.79', 'fd2e:6f44:5dd8:c956:f816:3eff:fef1:1bad'] <3>
65-
apiVIPs: ['192.168.25.199', 'fd2e:6f44:5dd8:c956:f816:3eff:fe78:cf36'] <4>
66-
controlPlanePort: <5>
67-
fixedIPs: <6>
68-
- subnet: <7>
63+
ingressVIPs: ['192.168.25.79', 'fd2e:6f44:5dd8:c956:f816:3eff:fef1:1bad'] <2>
64+
apiVIPs: ['192.168.25.199', 'fd2e:6f44:5dd8:c956:f816:3eff:fe78:cf36'] <3>
65+
controlPlanePort: <4>
66+
fixedIPs: <5>
67+
- subnet: <6>
6968
name: subnet-v4
7069
id: subnet-v4-id
71-
- subnet: <7>
70+
- subnet: <6>
7271
name: subnet-v6
7372
id: subnet-v6-id
7473
network: <7>
7574
name: dualstack
7675
id: network-id
7776
----
77+
<1> You must specify an IP address range for both the IPv4 and IPv6 address families.
78+
<2> Specify the virtual IP (VIP) address endpoints for the Ingress VIP services to provide an interface to the cluster.
79+
<3> Specify the virtual IP (VIP) address endpoints for the API VIP services to provide an interface to the cluster.
80+
<4> Specify the dual-stack network details that are used by all of the nodes across the cluster.
81+
<5> The CIDR of any subnet specified in this field must match the CIDRs listed on `networks.machineNetwork`.
82+
<6> You can specify a value for either `name` or `id`, or both.
83+
<7> Specifying the `network` under the `ControlPlanePort` field is optional.
84+
+
85+
Alternatively, if you want an IPv6 primary dual-stack cluster, edit the `install-config.yaml` file following the example below:
86+
+
87+
.Example `install-config.yaml`
7888

79-
<1> Dual-stack clusters are supported only with the `TechPreviewNoUpgrade` value.
80-
<2> You must specify an IP address range in the `cidr` field for both IPv4 and IPv6 address families.
81-
<3> Specify the virtual IP (VIP) address endpoints for the Ingress VIP services to provide an interface to the cluster.
82-
<4> Specify the virtual IP (VIP) address endpoints for the API VIP services to provide an interface to the cluster.
83-
<5> Specify the dual-stack network details that are used by all the nodes across the cluster.
84-
<6> The CIDR of any subnet specified in this field must match the CIDRs listed on `networks.machineNetwork`.
85-
<7> You can specify a value for either `name` or `id`, or both.
89+
[source, yaml]
90+
----
91+
apiVersion: v1
92+
baseDomain: mydomain.test
93+
compute:
94+
- name: worker
95+
platform:
96+
openstack:
97+
type: m1.xlarge
98+
replicas: 3
99+
controlPlane:
100+
name: master
101+
platform:
102+
openstack:
103+
type: m1.xlarge
104+
replicas: 3
105+
metadata:
106+
name: mycluster
107+
networking:
108+
machineNetwork: <1>
109+
- cidr: "fd2e:6f44:5dd8:c956::/64"
110+
- cidr: "192.168.25.0/24"
111+
clusterNetwork: <1>
112+
- cidr: fd01::/48
113+
hostPrefix: 64
114+
- cidr: 10.128.0.0/14
115+
hostPrefix: 23
116+
serviceNetwork: <1>
117+
- fd02::/112
118+
- 172.30.0.0/16
119+
platform:
120+
openstack:
121+
ingressVIPs: ['fd2e:6f44:5dd8:c956:f816:3eff:fef1:1bad', '192.168.25.79'] <2>
122+
apiVIPs: ['fd2e:6f44:5dd8:c956:f816:3eff:fe78:cf36', '192.168.25.199'] <3>
123+
controlPlanePort: <4>
124+
fixedIPs: <5>
125+
- subnet: <6>
126+
name: subnet-v6
127+
id: subnet-v6-id
128+
- subnet: <6>
129+
name: subnet-v4
130+
id: subnet-v4-id
131+
network: <7>
132+
name: dualstack
133+
id: network-id
134+
----
135+
<1> You must specify an IP address range for both the IPv4 and IPv6 address families.
136+
<2> Specify the virtual IP (VIP) address endpoints for the Ingress VIP services to provide an interface to the cluster.
137+
<3> Specify the virtual IP (VIP) address endpoints for the API VIP services to provide an interface to the cluster.
138+
<4> Specify the dual-stack network details that are used by all the nodes across the cluster.
139+
<5> The CIDR of any subnet specified in this field must match the CIDRs listed on `networks.machineNetwork`.
140+
<6> You can specify a value for either `name` or `id`, or both.
141+
<7> Specifying the `network` under the `ControlPlanePort` field is optional.

modules/install-osp-dualstack.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@
66
= Optional: Configuring a cluster with dual-stack networking
77

88
:FeatureName: Dual-stack configuration for OpenStack
9-
include::snippets/technology-preview.adoc[]
109

1110
You can create a dual-stack cluster on {rh-openstack}. However, the dual-stack configuration is enabled only if you are using an {rh-openstack} network with IPv4 and IPv6 subnets.
1211

1312
[NOTE]
1413
====
15-
{rh-openstack} does not support the following configurations:
16-
17-
* Conversion of an IPv4 single-stack cluster to a dual-stack cluster network.
18-
19-
* IPv6 as the primary address family for dual-stack cluster network.
14+
{rh-openstack} does not support the conversion of an IPv4 single-stack cluster to a dual-stack cluster network.
2015
====
2116

0 commit comments

Comments
 (0)