Configure the Google Cloud CLI
Before using Anthos clusters on Azure, you must install the Google Cloud CLI and enable required APIs.
To configure Google Cloud CLI, run the following commands:
Check your Google Cloud CLI installation with the following command:
If the Google Cloud CLI is not installed, or if its version is earlier than 365.0.1, Install the latest version of the Google Cloud CLI.
If you haven't already done so, create your Google Cloud project. Save your project's name, you'll use it later.
Run the following command to authenticate with your Google Cloud account:
gcloud auth login
Enable the Anthos Multi-Cloud API and its service dependencies with the following commands. These commands will enable the APIs for the project configured in your Google Cloud CLI.
gcloud services enable gkemulticloud.googleapis.com gcloud services enable gkeconnect.googleapis.com gcloud services enable connectgateway.googleapis.com gcloud services enable cloudresourcemanager.googleapis.com gcloud services enable anthos.googleapis.com gcloud services enable logging.googleapis.com gcloud services enable monitoring.googleapis.com