Configuring your Google Cloud project

To install GKE on-prem, you must have a Google Cloud project. This page shows how to configure your Google 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 \ \ \ \ \ \ \ \ \ \ \


gcloud services enable ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^

Enabling might incur charges. See the Pricing guide for details.

Configuring Cloud Monitoring

Cloud Monitoring is enabled by default for GKE on-prem.