Skip to content

cagedata/docker-gcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud SDK

The standard container that we use to run the gcloud and kubectl clients. Much of the code is heavily inspired by blacklabelops/gcloud.

Usage

$ docker run -it --rm \
  -e "GCLOUD_ACCOUNT=$(base64 auth.json)" \
  -e "[email protected]" \
  -e "CLOUDSDK_CORE_PROJECT=example-project \
  -e "CLOUDSDK_COMPUTE_ZONE=us-central1-b \
  -e "CLOUDSDK_COMPUTE_REGION=us-central1 \
  -e "KUBE_CLUSTER=my-kube-cluster" \
  cagedata/gcloud \
  kubectl get pods