You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/installation-osp-deploying-bare-metal-machines.adoc
+9-19Lines changed: 9 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ endif::[]
14
14
If you want your cluster to use bare metal machines, modify the
15
15
ifdef::osp-ipi[`install-config.yaml`]
16
16
ifndef::osp-ipi[`inventory.yaml`]
17
-
file. Your cluster can have both control plane and compute machines running on bare metal, or just compute machines.
17
+
file. Your cluster can have compute machines running on bare metal.
18
18
19
19
[NOTE]
20
20
====
@@ -48,37 +48,29 @@ endif::osp-ipi[]
48
48
49
49
ifdef::osp-ipi[]
50
50
. In the `install-config.yaml` file, edit the flavors for machines:
51
-
.. If you want to use bare-metal control plane machines, change the value of `controlPlane.platform.openstack.type` to a bare metal flavor.
52
51
.. Change the value of `compute.platform.openstack.type` to a bare metal flavor.
53
-
.. 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.
52
+
.. 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.
54
53
+
55
54
.An example bare metal `install-config.yaml` file
56
55
[source,yaml]
57
56
----
58
-
controlPlane:
59
-
platform:
60
-
openstack:
61
-
type: <bare_metal_control_plane_flavor> <1>
62
-
...
63
-
64
57
compute:
65
58
- architecture: amd64
66
59
hyperthreading: Enabled
67
60
name: worker
68
61
platform:
69
62
openstack:
70
-
type: <bare_metal_compute_flavor> <2>
63
+
type: <bare_metal_compute_flavor> <1>
71
64
replicas: 3
72
65
...
73
66
74
67
platform:
75
68
openstack:
76
-
machinesSubnet: <subnet_UUID> <3>
69
+
machinesSubnet: <subnet_UUID> <2>
77
70
...
78
71
----
79
-
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
80
-
<2> Change this value to a bare metal flavor to use for compute machines.
81
-
<3> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.
72
+
<1> Change this value to a bare metal flavor to use for compute machines.
73
+
<2> If you want to use a pre-existing network, change this value to the UUID of the {rh-openstack} subnet.
82
74
83
75
84
76
Use the updated `install-config.yaml` file to complete the installation process.
@@ -88,7 +80,6 @@ endif::osp-ipi[]
88
80
89
81
ifndef::osp-ipi[]
90
82
. In the `inventory.yaml` file, edit the flavors for machines:
91
-
.. If you want to use bare-metal control plane machines, change the value of `os_flavor_master` to a bare metal flavor.
92
83
.. Change the value of `os_flavor_worker` to a bare metal flavor.
93
84
+
94
85
.An example bare metal `inventory.yaml` file
@@ -102,14 +93,13 @@ all:
102
93
103
94
# User-provided values
104
95
os_subnet_range: '10.0.0.0/16'
105
-
os_flavor_master: 'my-bare-metal-flavor' <1>
106
-
os_flavor_worker: 'my-bare-metal-flavor' <2>
96
+
os_flavor_master: 'my-vm-flavor'
97
+
os_flavor_worker: 'my-bare-metal-flavor' <1>
107
98
os_image_rhcos: 'rhcos'
108
99
os_external_network: 'external'
109
100
...
110
101
----
111
-
<1> If you want to have bare-metal control plane machines, change this value to a bare metal flavor.
112
-
<2> Change this value to a bare metal flavor to use for compute machines.
102
+
<1> Change this value to a bare metal flavor to use for compute machines.
113
103
114
104
Use the updated `inventory.yaml` file to complete the installation process.
115
105
Machines that are created during deployment use the flavor that you
0 commit comments