Skip to content

Commit dc2bc0f

Browse files
authored
Merge pull request #92534 from dfitzmau/OCPBUGS-55228
OCPBUGS-55288: Added note about bonded interface and node IP address …
2 parents f055de4 + e1a09d2 commit dc2bc0f

3 files changed

+26
-17
lines changed

installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ include::modules/creating-scaling-machine-sets-compute-nodes-networking.adoc[lev
3434
// Establishing communication between subnets
3535
include::modules/ipi-install-establishing-communication-between-subnets.adoc[leveloffset=+1]
3636

37+
[role="_additional-resources"]
38+
.Additional resources
39+
40+
* xref:../../../installing/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc#modifying-install-config-for-dual-stack-network_ipi-install-installation-workflow[Configuring host network interfaces]
41+
3742
// Retrieving the {product-title} installer
3843
include::modules/ipi-install-retrieving-the-openshift-installer.adoc[leveloffset=+1]
3944

modules/ipi-install-configuring-host-network-interfaces-in-the-install-config.yaml-file.adoc

+15-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="configuring-host-network-interfaces-in-the-install-config-yaml-file_{context}"]
77
= Configuring host network interfaces
88

9-
Before installation, you can set the `networkConfig` configuration setting in the `install-config.yaml` file to configure host network interfaces using NMState.
9+
Before installation, you can set the `networkConfig` configuration setting in the `install-config.yaml` file to use NMState to configure host network interfaces.
1010

1111
The most common use case for this functionality is to specify a static IP address on the bare-metal network, but you can also configure other networks such as a storage network. This functionality supports other NMState features such as VLAN, VXLAN, bridges, bonds, routes, MTU, and DNS resolver settings.
1212

@@ -17,36 +17,35 @@ The most common use case for this functionality is to specify a static IP addres
1717
1818
.Procedure
1919

20-
. Optional: Consider testing the NMState syntax with `nmstatectl gc` before including it in the `install-config.yaml` file, because the installer will not check the NMState YAML syntax.
20+
. Optional: Consider testing the NMState syntax with `nmstatectl gc` before including the syntax in the `install-config.yaml` file, because the installation program does not check the NMState YAML syntax.
2121
+
2222
[NOTE]
2323
====
24-
Errors in the YAML syntax might result in a failure to apply the network configuration. Additionally, maintaining the validated YAML syntax is useful when applying changes using Kubernetes NMState after deployment or when expanding the cluster.
24+
Errors in the YAML syntax might result in a failure to apply the network configuration. Additionally, maintaining the validated YAML syntax is useful when applying changes by using Kubernetes NMState after deployment or when expanding the cluster.
2525
====
2626

27-
2827
.. Create an NMState YAML file:
2928
+
3029
[source,yaml]
3130
----
32-
interfaces:
33-
- name: <nic1_name> <1>
31+
interfaces: <1>
32+
- name: <nic1_name>
3433
type: ethernet
3534
state: up
3635
ipv4:
3736
address:
38-
- ip: <ip_address> <1>
37+
- ip: <ip_address>
3938
prefix-length: 24
4039
enabled: true
4140
dns-resolver:
4241
config:
4342
server:
44-
- <dns_ip_address> <1>
43+
- <dns_ip_address>
4544
routes:
4645
config:
4746
- destination: 0.0.0.0/0
48-
next-hop-address: <next_hop_ip_address> <1>
49-
next-hop-interface: <next_hop_nic1_name> <1>
47+
next-hop-address: <next_hop_ip_address>
48+
next-hop-interface: <next_hop_nic1_name>
5049
----
5150
+
5251
<1> Replace `<nic1_name>`, `<ip_address>`, `<dns_ip_address>`, `<next_hop_ip_address>` and `<next_hop_nic1_name>` with appropriate values.
@@ -77,24 +76,24 @@ Replace `<nmstate_yaml_file>` with the configuration file name.
7776
rootDeviceHints:
7877
deviceName: "/dev/sda"
7978
networkConfig: <1>
80-
interfaces:
81-
- name: <nic1_name> <2>
79+
interfaces: <2>
80+
- name: <nic1_name>
8281
type: ethernet
8382
state: up
8483
ipv4:
8584
address:
86-
- ip: <ip_address> <2>
85+
- ip: <ip_address>
8786
prefix-length: 24
8887
enabled: true
8988
dns-resolver:
9089
config:
9190
server:
92-
- <dns_ip_address> <2>
91+
- <dns_ip_address>
9392
routes:
9493
config:
9594
- destination: 0.0.0.0/0
96-
next-hop-address: <next_hop_ip_address> <2>
97-
next-hop-interface: <next_hop_nic1_name> <2>
95+
next-hop-address: <next_hop_ip_address>
96+
next-hop-interface: <next_hop_nic1_name>
9897
----
9998
<1> Add the NMState YAML syntax to configure the host interfaces.
10099
<2> Replace `<nic1_name>`, `<ip_address>`, `<dns_ip_address>`, `<next_hop_ip_address>` and `<next_hop_nic1_name>` with appropriate values.

modules/ipi-install-establishing-communication-between-subnets.adoc

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88

99
In a typical {product-title} cluster setup, all nodes, including the control plane and compute nodes, reside in the same network. However, for edge computing scenarios, it can be beneficial to locate compute nodes closer to the edge. This often involves using different network segments or subnets for the remote nodes than the subnet used by the control plane and local compute nodes. Such a setup can reduce latency for the edge and allow for enhanced scalability.
1010

11-
Before installing {product-title}, you must configure the network properly to ensure that the edge subnets containing the remote nodes can reach the subnet containing the control plane nodes and receive traffic from the control plane too.
11+
Before installing {product-title}, you must configure the network properly to ensure that the edge subnets containing the remote nodes can reach the subnet containing the control plane nodes and receive traffic from the control plane too.
12+
13+
[IMPORTANT]
14+
====
15+
During cluster installation, assign permanent IP addresses to nodes in the network configuration of the `install-config.yaml` configuration file. If you do not do this, nodes might get assigned a temporary IP address that can impact how traffic reaches the nodes. For example, if a node has a temporary IP address assigned to it and you configured a bonded interface for a node, the bonded interface might receive a different IP address.
16+
====
1217

1318
You can run control plane nodes in the same subnet or multiple subnets by configuring a user-managed load balancer in place of the default load balancer. With a multiple subnet environment, you can reduce the risk of your {product-title} cluster from failing because of a hardware failure or a network outage. For more information, see "Services for a user-managed load balancer" and "Configuring a user-managed load balancer".
1419

0 commit comments

Comments
 (0)