Skip to content

Instantly share code, notes, and snippets.

@dalehamel
Last active February 7, 2017 02:40
Show Gist options
  • Save dalehamel/522203b6b529779bfc9de3c2607051e6 to your computer and use it in GitHub Desktop.
Save dalehamel/522203b6b529779bfc9de3c2607051e6 to your computer and use it in GitHub Desktop.
Minikube init
curl https://storage.googleapis.com/minikube/releases/v0.16.0/minikube-darwin-amd64 > minikube
chmod +x minikube
# https://github.com/kubernetes/minikube/blob/v0.16.0/DRIVERS.md#kvm-driver
# Xhyve is a lot less shit to deal with than virtualbox.
# you might get a panic if you have virtualbox < version 5, if so just upgrade.
brew install docker-machine-driver-xhyve
# Note: this is needed because there's no other way for xhyve to get networknig to work (see xhyve repo's issues)
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo mv minikube /usr/local/bin/minikube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment