Last active
November 12, 2017 18:34
-
-
Save tribou/321ef95e97f0fca0da89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On OSX, install brew for all the things | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install Brew Caskroom | |
brew install caskroom/cask/brew-cask | |
# Install Google Cloud SDK | |
brew cask install google-cloud-sdk | |
# After installing, follow the printed instructions to add the paths | |
# and bash completions to your path | |
# Authenticate your account | |
gcloud auth login | |
# Ensure you have the latest gcloud commands | |
gcloud components update | |
# Install kubectl command as well | |
gcloud components update kubectl | |
# Add shortcut defaults for the gcloud command | |
# Set default project | |
gcloud config set project your-project-id | |
# Set default compute zone | |
gcloud config set compute/zone us-central1-a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment