Skip to content

Instantly share code, notes, and snippets.

@samirbehara-zz
Created September 16, 2018 18:44
Show Gist options
  • Save samirbehara-zz/2c872ad9c59fb9aa80f2cd6c82c0145e to your computer and use it in GitHub Desktop.
Save samirbehara-zz/2c872ad9c59fb9aa80f2cd6c82c0145e to your computer and use it in GitHub Desktop.
# Check for Homebrew and install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Make sure we are using the latest Homebrew.
brew update
# Check for Minikube and install if we don't have it
echo "Installing Minikube to run a single-node Kubernetes Cluster locally..."
brew cask install minikube
echo "Minikube Installation Complete"
# Check for Kubernetes Command Line Utility and install if we don't have it
echo "Installing kubectl to manage components in your Kubernetes cluster..."
brew install kubectl
echo "kubectl Installation Complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment