You can add bare-metal hosts to the cluster by using the web console.
-
Install an {op-system} cluster on bare metal.
-
Log in as a user with
cluster-adminprivileges.
-
In the web console, navigate to Compute → Bare Metal Hosts.
-
Select Add Host → New with Dialog.
-
Specify a unique name for the new bare-metal host.
-
Set the Boot MAC address.
-
Set the Baseboard Management Console (BMC) Address.
-
Enter the user credentials for the baseboard management controller (BMC) of the host.
-
Select to power on the host after creation, and select Create.
-
Scale up the number of replicas to match the number of available bare metal hosts. Navigate to Compute → MachineSets, and increase the number of machine replicas in the cluster by selecting Edit Machine count from the Actions drop-down menu.
NoteYou can also manage the number of bare-metal nodes by using the
oc scalecommand and the appropriate bare-metal compute machine set.