You can create a Hosted Control Plane cluster by
using Bare Metal hosts either through the OpenShift® Console or the Hosted Control Plane CLI.
Before you begin
- Ensure you meet the following prerequisites:
Procedure
-
Go to ACM user interface.
- Go to
.
- Select Host Inventory and then
Hosted.
- Enter the credentials.
The credentials should include the following:
- cloud.openshift.com
- cp.icr.io
- quay.io
- registry.connect.redhat.com
- registry.redhat.io
- Enter Cluster name.
Important: It is crucial that the cluster name is the same name used in the network
planning. Do not use a name that does not have an alias entry. The cluster is a part of the base
domain. For example,
mydomain.com
. Controller and Infrastructure availability are
environment dependent.
Though the recommendation is to have 3 nodes for a resilient cluster, you
can have a single node Hosted Control Plane cluster.
- Enter Namespace. It is the namespace of the infrastructure
environment of the hosts.
- Enter Labels. These are the labels found on hosts in this
particular infrastructure environment. To ensure certain hosts are in a particular cluster, use the
labels. Otherwise, a random host from that infrastructure environment gets chosen.
- Enter the Networking type.
The value is environment
dependent, but you can choose LoadBalancer type for resilience. The SSH public key must be the same
that you used during host import.
- Open the YAML and add the following in the
spec
section: HCP cluster to
use the specially created Local Volume Storage for HCP
spec:
etcd:
managed:
storage:
persistentVolume:
size: 8Gi
storageClassName: lvms-hcp-etcd
type: PersistentVolume
managementType: Managed
It causes the Hosted Control Plane cluster to use the
Local Volume Storage created for it.
- Click Finish.
The cluster creation starts and it
can take up to half an hour. After the nodepool hosts are in the ready state, add the load balancer
for the console to be available.
What to do next
After you deploy the Bare Metal
clusters with Fusion Data Foundation, configure the ingress to
view the changes in the user interface. For more information about the steps to configure ingress,
see Configuring ingress for Bare Metal Hosted cluster.