Skip to content

Commit 7e9daf3

Browse files
authored
Merge pull request #45104 from johnwilkins/TELCODOCS-489
TELCODOCS-489: D/S Docs & RN: METAL-175 Add bootstrap external IP field to install-config API for bare metal
2 parents 91f4aae + a705c5a commit 7e9daf3

File tree

2 files changed

+33
-27
lines changed

2 files changed

+33
-27
lines changed

modules/ipi-install-additional-install-config-parameters.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ and the `bmc` parameter for the `install-config.yaml` file.
2323
| `UEFI`
2424
| The boot mode for a node. Options are `legacy`, `UEFI`, and `UEFISecureBoot`. If `bootMode` is not set, Ironic sets it while inspecting the node.
2525

26+
| `bootstrapExternalStaticIP`
27+
|
28+
| The static IP address for the bootstrap VM. You must set this value when deploying a cluster with static IP addresses when there is no DHCP server on the `baremetal` network.
29+
30+
| `bootstrapExternalStaticGateway`
31+
|
32+
| The static IP address of the gateway for the bootstrap VM. You must set this value when deploying a cluster with static IP addresses when there is no DHCP server on the `baremetal` network.
33+
2634
| `sshKey`
2735
|
2836
| The `sshKey` configuration setting contains the key in the `~/.ssh/id_rsa.pub` file required to access the control plane nodes and worker nodes. Typically, this key is from the `provisioner` node.

modules/ipi-install-configuring-the-install-config-file.adoc

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Most of the information teaches the installation program and the resulting clust
1414
The installation program no longer needs the `clusterOSImage` {op-system} image because the correct image is in the release payload.
1515
====
1616

17-
. Configure `install-config.yaml`. Change the appropriate variables to match the environment, including `pullSecret` and `sshKey`.
17+
. Configure `install-config.yaml`. Change the appropriate variables to match the environment, including `pullSecret` and `sshKey`:
1818
+
1919
[source,yaml]
2020
----
2121
apiVersion: v1
2222
baseDomain: <domain>
2323
metadata:
24-
name: <cluster-name>
24+
name: <cluster_name>
2525
networking:
2626
machineNetwork:
27-
- cidr: <public-cidr>
27+
- cidr: <public_cidr>
2828
networkType: OVNKubernetes
2929
compute:
3030
- name: worker
@@ -36,67 +36,65 @@ controlPlane:
3636
baremetal: {}
3737
platform:
3838
baremetal:
39-
apiVIP: <api-ip>
40-
ingressVIP: <wildcard-ip>
39+
apiVIP: <api_ip>
40+
ingressVIP: <wildcard_ip>
4141
provisioningNetworkCIDR: <CIDR>
42+
bootstrapExternalStaticIP: <bootstrap_static_ip_address> <2>
43+
bootstrapExternalStaticGateway: <bootstrap_static_gateway> <3>
4244
hosts:
4345
- name: openshift-master-0
4446
role: master
4547
bmc:
46-
address: ipmi://<out-of-band-ip> <2>
48+
address: ipmi://<out_of_band_ip> <4>
4749
username: <user>
4850
password: <password>
49-
bootMACAddress: <NIC1-mac-address>
51+
bootMACAddress: <NIC1_mac_address>
5052
rootDeviceHints:
5153
deviceName: "/dev/sda"
52-
- name: <openshift-master-1>
54+
- name: <openshift_master_1>
5355
role: master
5456
bmc:
55-
address: ipmi://<out-of-band-ip> <2>
57+
address: ipmi://<out_of_band_ip> <4>
5658
username: <user>
5759
password: <password>
58-
bootMACAddress: <NIC1-mac-address>
60+
bootMACAddress: <NIC1_mac_address>
5961
rootDeviceHints:
6062
deviceName: "/dev/sda"
61-
- name: <openshift-master-2>
63+
- name: <openshift_master_2>
6264
role: master
6365
bmc:
64-
address: ipmi://<out-of-band-ip> <2>
66+
address: ipmi://<out_of_band_ip> <4>
6567
username: <user>
6668
password: <password>
67-
bootMACAddress: <NIC1-mac-address>
69+
bootMACAddress: <NIC1_mac_address>
6870
rootDeviceHints:
6971
deviceName: "/dev/sda"
70-
- name: <openshift-worker-0>
72+
- name: <openshift_worker_0>
7173
role: worker
7274
bmc:
73-
address: ipmi://<out-of-band-ip> <2>
75+
address: ipmi://<out_of_band_ip> <4>
7476
username: <user>
7577
password: <password>
76-
bootMACAddress: <NIC1-mac-address>
77-
- name: <openshift-worker-1>
78+
bootMACAddress: <NIC1_mac_address>
79+
- name: <openshift_worker_1>
7880
role: worker
7981
bmc:
80-
address: ipmi://<out-of-band-ip>
82+
address: ipmi://<out_of_band_ip>
8183
username: <user>
8284
password: <password>
83-
bootMACAddress: <NIC1-mac-address>
85+
bootMACAddress: <NIC1_mac_address>
8486
rootDeviceHints:
8587
deviceName: "/dev/sda"
8688
pullSecret: '<pull_secret>'
8789
sshKey: '<ssh_pub_key>'
8890
----
8991
+
9092
<1> Scale the worker machines based on the number of worker nodes that are part of the {product-title} cluster. Valid options for the `replicas` value are `0` and integers greater than or equal to `2`. Set the number of replicas to `0` to deploy a three-node cluster, which contains only three control plane machines. A three-node cluster is a smaller, more resource-efficient cluster that can be used for testing, development, and production. You cannot install the cluster with only one worker.
91-
ifdef::upstream[]
92-
<2> See the xref:bmc-addressing_{context}[BMC addressing] sections for more options.
93-
endif::[]
94-
ifndef::upstream[]
95-
<2> See the BMC addressing sections for more options.
96-
endif::[]
93+
<2> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticIP` configuration setting to specify the static IP address of the bootstrap VM when there is no DHCP server on the `baremetal` network.
94+
<3> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticGateway` configuration setting to specify the gateway IP address for the bootstrap VM when there is no DHCP server on the `baremetal` network.
95+
<4> See the BMC addressing sections for more options.
9796

98-
99-
. Create a directory to store cluster configs:
97+
. Create a directory to store the cluster configuration:
10098
+
10199
[source,terminal]
102100
----

0 commit comments

Comments
 (0)