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.
To create the hybrid cluster, complete the following steps:
gcloud auth application-default login |
bmctl create config -c <HYBRID_CLUSTER_NAME> |
./bmctl create cluster -c CLUSTER_NAME |
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.
kubectl --kubeconfig bmctl-workspace/<CLUSTER_NAME>/<CLUSTER_NAME>-kubeconfig get nodes |