To create the admin and user cluster:
gkectl check-config --config admin-cluster.yaml |
gkectl prepare --config admin-cluster.yaml --skip-validation-all |
gkectl create admin --config admin-cluster.yaml |
gkectl check-config --kubeconfig [ADMIN_CLUSTER_KUBECONFIG] --config user-cluster.yaml |
where, [ADMIN_CLUSTER_KUBECONFIG] is the path of the kubeconfig file for your admin cluster.
gkectl create cluster --kubeconfig [ADMIN_CLUSTER_KUBECONFIG] --config user-cluster.yaml |
kubectl get nodes --kubeconfig [ADMIN_CLUSTER_KUBECONFIG] |
kubectl get nodes --kubeconfig [USER_CLUSTER_KUBECONFIG] |
Result: The user cluster is registered with Google Cloud after the cluster is created successfully.
Figure 9: User cluster registered with GCP after successful deployment
Select the method of your choice and log in to view the cluster overview.
For more information, see Logging in to a cluster from Cloud Console.
Figure 10: Kubernetes cluster node details in GCP
Note: The Kubernetes cluster nodes for Anthos on-premises clusters are running as vSphere VMs on the PowerFlex system.
Figure 11: Kubernetes cluster nodes in VMware vCenter
For more information, see Creating an admin cluster and Creating a user clusters.