Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 9 additions & 19 deletions modules/installation-osp-deploying-bare-metal-machines.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif::[]
If you want your cluster to use bare metal machines, modify the
ifdef::osp-ipi[`install-config.yaml`]
ifndef::osp-ipi[`inventory.yaml`]
file. Your cluster can have both control plane and compute machines running on bare metal, or just compute machines.
file. Your cluster can have compute machines running on bare metal.

[NOTE]
====
Expand Down Expand Up @@ -48,37 +48,29 @@ endif::osp-ipi[]

ifdef::osp-ipi[]
. In the `install-config.yaml` file, edit the flavors for machines:
.. If you want to use bare-metal control plane machines, change the value of `controlPlane.platform.openstack.type` to a bare metal flavor.
.. Change the value of `compute.platform.openstack.type` to a bare metal flavor.
.. If you want to deploy your machines on a pre-existing network, change the value of `platform.openstack.machinesSubnet` to the {rh-openstack} subnet UUID of the network. Control plane and compute machines must use the same subnet.
.. If you want to deploy your machines on a pre-existing network, change the value of `platform.openstack.machinesSubnet` to the {rh-openstack} subnet UUID of the network.
+
.An example bare metal `install-config.yaml` file
[source,yaml]
----
controlPlane:
platform:
openstack:
type: <bare_metal_control_plane_flavor> <1>
...

compute:
- architecture: amd64
hyperthreading: Enabled
name: worker
platform:
openstack:
type: <bare_metal_compute_flavor> <2>
type: <bare_metal_compute_flavor> <1>
replicas: 3
...

platform:
openstack:
machinesSubnet: <subnet_UUID> <3>
machinesSubnet: <subnet_UUID> <2>
...
----
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
<2> Change this value to a bare metal flavor to use for compute machines.
<3> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.
<1> Change this value to a bare metal flavor to use for compute machines.
<2> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.


Use the updated `install-config.yaml` file to complete the installation process.
Expand All @@ -88,7 +80,6 @@ endif::osp-ipi[]

ifndef::osp-ipi[]
. In the `inventory.yaml` file, edit the flavors for machines:
.. If you want to use bare-metal control plane machines, change the value of `os_flavor_master` to a bare metal flavor.
.. Change the value of `os_flavor_worker` to a bare metal flavor.
+
.An example bare metal `inventory.yaml` file
Expand All @@ -102,14 +93,13 @@ all:

# User-provided values
os_subnet_range: '10.0.0.0/16'
os_flavor_master: 'my-bare-metal-flavor' <1>
os_flavor_worker: 'my-bare-metal-flavor' <2>
os_flavor_master: 'my-vm-flavor'
os_flavor_worker: 'my-bare-metal-flavor' <1>
os_image_rhcos: 'rhcos'
os_external_network: 'external'
...
----
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
<2> Change this value to a bare metal flavor to use for compute machines.
<1> Change this value to a bare metal flavor to use for compute machines.

Use the updated `inventory.yaml` file to complete the installation process.
Machines that are created during deployment use the flavor that you
Expand Down