Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.47 KB

01-prerequisites.md

File metadata and controls

51 lines (34 loc) · 1.47 KB

Prerequisites

Google Cloud Platform

This tutorial leverages the Google Cloud Platform to streamline provisioning of a Kubernetes cluster. Sign up for $300 in free credits.

Estimated cost to run this tutorial: $0.10 per hour ($2.39 per day).

The compute resources required for this tutorial exceed the Google Cloud Platform free tier.

Google Cloud Platform SDK

Install the Google Cloud SDK

Follow the Google Cloud SDK documentation to install and configure the gcloud command line utility.

Verify the Google Cloud SDK version is 218.0.0 or higher:

gcloud version

Set a Default Compute Region and Zone

This tutorial assumes a default compute region and zone have been configured.

If you are using the gcloud command-line tool for the first time init is the easiest way to do this:

gcloud init

Otherwise:

  1. Set the project:

    gcloud config set project YOUR_PROJECT_ID
    

    To list projects: gcloud projects list

  2. Set a default compute region:

    gcloud config set compute/region us-west1
    
  3. Set a default compute zone:

    gcloud config set compute/zone us-west1-c
    

    Use the gcloud compute zones list command to view additional regions and zones.

Next: Installing the Client Tools