Skip to content

Commit b199692

Browse files
authored
Merge pull request #91330 from dfitzmau/OSDOCS-13692-15
[enterprise-4.15] OSDOCS-13692: Updated dual-stack to single-stack for IPv6
2 parents f1f4f77 + b8e6bd5 commit b199692

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

modules/nw-dual-stack-convert-back-single-stack.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
[id="nw-dual-stack-convert-back-single-stack_{context}"]
33
= Converting to a single-stack cluster network
44

5-
As a cluster administrator, you can convert your dual-stack cluster network to a single-stack cluster network.
5+
As a cluster administrator, you can convert your dual-stack cluster network to a single-stack cluster network.
6+
7+
[IMPORTANT]
8+
====
9+
If you originally converted your IPv4 single-stack cluster network to a dual-stack cluster, you can convert only back to the IPv4 single-stack cluster and not an IPv6 single-stack cluster network. The same restriction applies for converting back to an IPv6 single-stack cluster network.
10+
====
611

712
.Prerequisites
813

@@ -14,13 +19,12 @@ As a cluster administrator, you can convert your dual-stack cluster network to a
1419
1520
.Procedure
1621

17-
. Edit the `networks.config.openshift.io` custom resource (CR) by running the
18-
following command:
22+
. Edit the `networks.config.openshift.io` custom resource (CR) by running the following command:
1923
+
2024
[source,terminal]
2125
----
2226
$ oc edit networks.config.openshift.io
2327
----
2428

25-
. Remove the IPv6 specific configuration that you have added to the `cidr` and `hostPrefix` fields in the previous procedure.
29+
. Remove the IPv4 or IPv6 configuration that you added to the `cidr` and the `hostPrefix` parameters from completing the "Converting to a dual-stack cluster network " procedure steps.
2630

modules/nw-dual-stack-convert.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ After converting to dual-stack networking only newly created pods are assigned I
2121

2222
. To specify IPv6 address blocks for the cluster and service networks, create a file containing the following YAML:
2323
+
24-
--
2524
[source,yaml]
2625
----
2726
- op: add
@@ -33,10 +32,8 @@ After converting to dual-stack networking only newly created pods are assigned I
3332
path: /spec/serviceNetwork/-
3433
value: fd02::/112 <2>
3534
----
36-
<1> Specify an object with the `cidr` and `hostPrefix` fields. The host prefix must be `64` or greater. The IPv6 CIDR prefix must be large enough to accommodate the specified host prefix.
37-
35+
<1> Specify an object with the `cidr` and `hostPrefix` parameters. The host prefix must be `64` or greater. The IPv6 Classless Inter-Domain Routing (CIDR) prefix must be large enough to accommodate the specified host prefix.
3836
<2> Specify an IPv6 CIDR with a prefix of `112`. Kubernetes uses only the lowest 16 bits. For a prefix of `112`, IP addresses are assigned from `112` to `128` bits.
39-
--
4037
4138
. To patch the cluster network configuration, enter the following command:
4239
+
@@ -46,11 +43,9 @@ $ oc patch network.config.openshift.io cluster \
4643
--type='json' --patch-file <file>.yaml
4744
----
4845
+
49-
--
5046
where:
5147

5248
`file`:: Specifies the name of the file you created in the previous step.
53-
--
5449
+
5550
.Example output
5651
[source,text]

modules/nw-ovn-kubernetes-change-join-subnet.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can change the join subnet used by OVN-Kubernetes to avoid conflicting with
1616
1717
.Procedure
1818

19-
. To change the OVN-Kubernetes join subnet, enter the following command:
19+
* To change the OVN-Kubernetes join subnet, enter the following command:
2020
+
2121
[source,terminal]
2222
----
@@ -48,7 +48,7 @@ $ oc get network.operator.openshift.io \
4848
-o jsonpath="{.items[0].spec.defaultNetwork}"
4949
----
5050
+
51-
It can take up to 30 minutes for this change to take effect.
51+
The command operation can take up to 30 minutes for this change to take effect.
5252
+
5353
.Example output
5454
----

modules/nw-ovn-kubernetes-change-transit-subnet.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can change the transit subnet used by OVN-Kubernetes to avoid conflicting wi
1616
1717
.Procedure
1818

19-
. To change the OVN-Kubernetes transit subnet, enter the following command:
19+
* To change the OVN-Kubernetes transit subnet, enter the following command:
2020
+
2121
[source,terminal]
2222
----

networking/ovn_kubernetes_network_provider/configure-ovn-kubernetes-subnets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ As a cluster administrator, you can change the IP address ranges that the OVN-Ku
1111

1212
include::modules/nw-ovn-kubernetes-change-join-subnet.adoc[leveloffset=+1]
1313

14-
include::modules/nw-ovn-kubernetes-change-transit-subnet.adoc[leveloffset=+1]
14+
include::modules/nw-ovn-kubernetes-change-transit-subnet.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)