Skip to content

Instantly share code, notes, and snippets.

@samirbehara-zz
Created September 16, 2018 18:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# 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