Skip to content
Victor Cuadrado Juan edited this page Jun 3, 2020 · 8 revisions

GKE

If you are running the make targets locally, be sure to have met the Local requirements.

Getting a GKE cluster configured for CAP

$> BACKEND=gke GKE_CRED_JSON=<cred json file> make k8s

This target leverages CAP-Terraform to deploy a GKE cluster prepared for CAP.

The target downloads all needed gcloud binaries and sets them up in buildir/*.

Needs a json file with gcloud credentials present, passed with GKE_CRED_JSON=<cred json file>.

Destroying the deployment of GKE

Since the infrastructure is living on GKE, instead of deleting the corresponding build folder, please run:

$> BACKEND=gke GKE_CRED_JSON=<cred json file> make clean

Deploying GKE and CAP on top

Same procedure, but call:

$> BACKEND=gke GKE_CRED_JSON=<cred json file> make all