Version 1.6. This version is fully supported, offering the latest patches and updates for security vulnerabilities, exposures, and issues impacting Anthos clusters on VMware. Refer to the release notes for more details. This is the most recent version.

Configuring your Google Cloud project

To install Anthos clusters on VMware (GKE on-prem), you must have a Google Cloud project. This page shows how to configure your Cloud project.

Logging in

Log in to Google Cloud using your account credentials:

gcloud auth login

Setting a default project ID

Set a default project ID:

gcloud config set project [PROJECT_ID]

where [PROJECT_ID] is your project ID.

Now that you have a default project ID, you won't have to include the --project flag in your gcloud commands.

Enabling the required APIs in your project

Enable the required APIs in your Google Cloud project:

Linux and macOS

gcloud services enable \
    anthos.googleapis.com \
    anthosgke.googleapis.com \
    anthosaudit.googleapis.com \
    cloudresourcemanager.googleapis.com \
    container.googleapis.com \
    gkeconnect.googleapis.com \
    gkehub.googleapis.com \
    serviceusage.googleapis.com \
    stackdriver.googleapis.com \
    monitoring.googleapis.com \
    logging.googleapis.com

Windows

gcloud services enable ^
    anthos.googleapis.com ^
    anthosgke.googleapis.com ^
    anthosaudit.googleapis.com ^
    cloudresourcemanager.googleapis.com ^
    container.googleapis.com ^
    gkeconnect.googleapis.com ^
    gkehub.googleapis.com ^
    serviceusage.googleapis.com ^
    stackdriver.googleapis.com ^
    monitoring.googleapis.com ^
    logging.googleapis.com

Enabling anthos.googleapis.com might incur charges. See the Pricing guide for details.

Creating a Cloud Monitoring Workspace

Cloud Monitoring is enabled by default for Anthos clusters on VMware. For Monitoring to function properly, you need to create a Monitoring Workspace in your Cloud project.

To learn how to create a Monitoring Workspace, see Creating a Workspace.