/gcloud

docker gcloud

Primary LanguageShell

Log in to gcloud

  • docker volume create --name=gcloud-data
  • dg gcloud init
  • dg gcloud beta auth application-default login

Get cluster credentials

  • dg gcloud container clusters get-credentials --zone=

Run stuff

  • ./dg kubectl cluster-info

create docker machine

  • dg docker-machine create --driver google --google-project --google-zone us-east1-d --google-machine-type n1-standard-1 ucp-master

install

ln -s $DOT_FILES/apps.symlink/gcloud/dg $DOT_FILES/bin.symlink ln -s $DOT_FILES/apps.symlink/gcloud/kubectl $DOT_FILES/bin.symlink ln -s $DOT_FILES/apps.symlink/gcloud/gcloud $DOT_FILES/bin.symlink