Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 1.18 KB

guide-gke.md

File metadata and controls

80 lines (50 loc) · 1.18 KB

Register inside Google Cloud Platform

Prerequisites

Install Google Cloud SDK.

OSX via brew cask

brew cask install google-cloud-sdk

Use Google Cloud environment.

Before start using of GKE, please execute the following command:

source ./.env/gke.env

Configure Google cloud SDK tool

0. Authentication

Authentication

google auth login

1. Select a project.

  • List projects
gcloud projects list
  • Set the active project
gcloud config set project myProject

2. Specify area

  • List zones/regions
gcloud compute regions list
gcloud compute zones list
  • Select default zone
gcloud config set compute/zone europe-west1-c
  • Select default region
gcloud config set compute/zone europe-west1

(!) Be sure to specify zone, not region, since it will create more nodes.

So at this moment we are ready to use google cloud platform.

Build

Build all nodes using google cloud build.

  • Build everything
make k8s-save -j20