As mentioned in Solution Overview section, we can define four types of cluster with Anthos on bare metal - admin cluster, user cluster, hybrid cluster, and stand-alone cluster.
This section provides instructions to create a hybrid cluster.
- Download and install bmctl tool on the Linux administration machine.
- The Linux administration machine running bmctl tool should have network connectivity to all the nodes of the target hybrid cluster as well as the control plane VIP.
- Root user SSH keys or SUDO user access on all nodes in the target hybrid cluster.
To create the hybrid cluster, complete the following steps:
- SSH to the Linux administration machine and change to the bare metal directory created in Prepare Linux administration machine.
- Log in to gcloud as a user.
- Create the cluster configuration file.
- Modify the configuration file parameters to match your environment-specific variable. For detailed information, see Edit the cluster config file.
- Create the cluster.
The bmctl command runs preflight checks on the cluster config file before it creates a cluster. If they are successful, the cluster is created. The bmctl logs, as well as the preflight check and node installation logs, are in the directory: baremetal/bmctl-workspace/<CLUSTER_NAME>/log.
- During cluster creation, the bmctl command writes a kubeconfig file which is written to bmctl-workspace/<CLUSTER_NAME>/<CLUSTER_NAME>-kubeconfig. Verify the successful creation of cluster.