Skip to content

Commit f3e852b

Browse files
authored
Merge pull request #84102 from dfitzmau/OCPBUGS-43265
OCPBUGS#43265: Clarified IPI and UPI on Converting to a dual-stack cl…
2 parents c86339a + 6d0aea7 commit f3e852b

File tree

3 files changed

+24
-25
lines changed

3 files changed

+24
-25
lines changed

modules/nw-dual-stack-convert.adoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
As a cluster administrator, you can convert your single-stack cluster network to a dual-stack cluster network. After converting to a dual-stack network, new and existing pods have dual-stack networking enabled.
66

7-
Converting a single-stack cluster network to a dual-stack cluster network consists of creating patches and applying them to the cluster's network and infrastructure.
7+
Converting a single-stack cluster network to a dual-stack cluster network consists of creating patches and applying them to the cluster's network and infrastructure. You can convert to a dual-stack cluster network for a cluster that runs on installer-provisioned infrastructure.
88

99
[NOTE]
1010
====
@@ -69,7 +69,7 @@ $ oc patch network.config.openshift.io cluster \// <1>
6969
network.config.openshift.io/cluster patched
7070
----
7171

72-
. To specify IPv6 VIPs for API and Ingress services for your cluster, create a YAML configuration patch file that has a similar configuration to the following example:
72+
. Specify IPv6 VIPs for API and Ingress services for your cluster. Create a YAML configuration patch file that has a similar configuration to the following example:
7373
+
7474
[source,yaml]
7575
----
@@ -86,9 +86,10 @@ network.config.openshift.io/cluster patched
8686
<1> Ensure that you specify an address block for the `machineNetwork` network where your machines operate. You must select both API and Ingress IP addresses for the machine network.
8787
<2> Ensure that you specify each file path according to your platform. The example demonstrates a file path on a bare-metal platform.
8888
89-
. Patch the cluster's infrastructure by entering the following command in your CLI:
89+
90+
. Patch the infrastructure by entering the following command in your CLI:
9091
+
91-
[source,terminal,subs="+quotes"]
92+
[source,terminal,subs="+quotes,"]
9293
----
9394
$ oc patch infrastructure cluster \// <1>
9495
--type='json' --patch-file <file>.yaml
@@ -130,14 +131,16 @@ Status:
130131
# ...
131132
----
132133

133-
. Show the cluster infrastructure configuration by entering the following command in your CLI:
134+
. Complete the following additional tasks for a cluster that runs on installer-provisioned infrastructure:
135+
+
136+
.. Show the cluster infrastructure configuration by entering the following command in your CLI:
134137
+
135138
[source,terminal]
136139
----
137-
$ oc describe network
140+
$ oc describe infrastructure
138141
----
139-
140-
. Verify the successful installation of the patch on the cluster infrastructure by checking that the infrastructure recognizes the IPv6 address blocks that you specified in the YAML file.
142+
+
143+
.. Verify the successful installation of the patch on the cluster infrastructure by checking that the infrastructure recognizes the IPv6 address blocks that you specified in the YAML file.
141144
+
142145
.Example output
143146
[source,text]

networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.adoc

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,28 @@ toc::[]
88

99
The {product-title} cluster uses a virtualized network for pod and service networks.
1010

11-
Part of {openshift-networking}, the OVN-Kubernetes network plugin is the default network provider for {product-title}.
12-
OVN-Kubernetes is based on Open Virtual Network (OVN) and provides an overlay-based networking implementation.
13-
A cluster that uses the OVN-Kubernetes plugin also runs Open vSwitch (OVS) on each node.
14-
OVN configures OVS on each node to implement the declared network configuration.
11+
Part of {openshift-networking}, the OVN-Kubernetes network plugin is the default network provider for {product-title}. OVN-Kubernetes is based on Open Virtual Network (OVN) and provides an overlay-based networking implementation. A cluster that uses the OVN-Kubernetes plugin also runs Open vSwitch (OVS) on each node. OVN configures OVS on each node to implement the declared network configuration.
1512

1613
[NOTE]
1714
====
1815
OVN-Kubernetes is the default networking solution for {product-title} and {sno} deployments.
1916
====
2017

21-
OVN-Kubernetes, which arose from the OVS project, uses many of the same constructs, such as open flow rules, to determine how packets travel through the network.
22-
For more information, see the link:https://www.ovn.org/en/[Open Virtual Network website].
18+
OVN-Kubernetes, which arose from the OVS project, uses many of the same constructs, such as open flow rules, to determine how packets travel through the network. For more information, see the link:https://www.ovn.org/en/[Open Virtual Network website].
2319

24-
OVN-Kubernetes is a series of daemons for OVS that translate virtual network configurations into `OpenFlow` rules.
25-
`OpenFlow` is a protocol for communicating with network switches and routers, providing a means for remotely controlling the flow of network traffic on a network device, allowing network administrators to configure, manage, and monitor the flow of network traffic.
20+
OVN-Kubernetes is a series of daemons for OVS that translate virtual network configurations into `OpenFlow` rules. `OpenFlow` is a protocol for communicating with network switches and routers, providing a means for remotely controlling the flow of network traffic on a network device so that network administrators can configure, manage, and monitor the flow of network traffic.
2621

27-
OVN-Kubernetes provides more of the advanced functionality not available with `OpenFlow`.
28-
OVN supports distributed virtual routing, distributed logical switches, access control, DHCP and DNS.
29-
OVN implements distributed virtual routing within logic flows which equate to open flows.
30-
So for example if you have a pod that sends out a DHCP request on the network, it sends out that broadcast looking for DHCP address there will be a logic flow rule that matches that packet, and it responds giving it a gateway, a DNS server an IP address and so on.
31-
32-
OVN-Kubernetes runs a daemon on each node. There are daemon sets for the databases and for the OVN controller that run on every node.
33-
The OVN controller programs the Open vSwitch daemon on the nodes to support the network provider features; egress IPs, firewalls, routers, hybrid networking, IPSEC encryption, IPv6, network policy, network policy logs, hardware offloading and multicast.
22+
OVN-Kubernetes provides more of the advanced functionality not available with `OpenFlow`. OVN supports distributed virtual routing, distributed logical switches, access control, Dynamic Host Configuration Protocol (DHCP), and DNS. OVN implements distributed virtual routing within logic flows that equate to open flows. For example, if you have a pod that sends out a DHCP request to the DHCP server on the network, a logic flow rule in the request helps the OVN-Kubernetes handle the packet so that the server can respond with gateway, DNS server, IP address, and other information.
3423

24+
OVN-Kubernetes runs a daemon on each node. There are daemon sets for the databases and for the OVN controller that run on every node. The OVN controller programs the Open vSwitch daemon on the nodes to support the network provider features: egress IPs, firewalls, routers, hybrid networking, IPSEC encryption, IPv6, network policy, network policy logs, hardware offloading, and multicast.
3525

26+
// OVN-Kubernetes purpose
3627
include::modules/nw-ovn-kubernetes-features.adoc[leveloffset=+1]
3728

29+
// OVN-Kubernetes IPv6 and dual-stack limitations
3830
include::modules/nw-ovn-kuberentes-limitations.adoc[leveloffset=+1]
3931

32+
// Session affinity
4033
include::modules/nw-ovn-kubernetes-session-affinity.adoc[leveloffset=+1]
4134

4235
ifndef::openshift-rosa,openshift-dedicated[]

networking/ovn_kubernetes_network_provider/converting-to-dual-stack.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ toc::[]
88

99
As a cluster administrator, you can convert your IPv4 single-stack cluster to a dual-network cluster network that supports IPv4 and IPv6 address families. After converting to dual-stack networking, new and existing pods have dual-stack networking enabled.
1010

11-
Clusters provisioned on bare metal, {ibm-power-name}, {ibm-z-name} infrastructure, {sno}, and {vmw-full} support dual-stack networking.
12-
1311
[IMPORTANT]
1412
====
1513
When using dual-stack networking where IPv6 is required, you cannot use IPv4-mapped IPv6 addresses, such as `::FFFF:198.51.100.1`.
1614
====
1715

16+
[role="_additional-resources"]
17+
.Additional resources
18+
19+
* For more information about platform-specific support for dual-stack networking, see xref:../../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes#nw-ovn-kubernetes-purpose_about-ovn-kubernetes[OVN-Kubernetes purpose]
20+
1821
// Converting to a dual-stack cluster network
1922
include::modules/nw-dual-stack-convert.adoc[leveloffset=+1]
2023

0 commit comments

Comments
 (0)