Skip to content

Instantly share code, notes, and snippets.

@gashcrumb
Created August 3, 2016 13:11
Show Gist options
  • Save gashcrumb/ac8b907dcb58f659c1d31b37588580b8 to your computer and use it in GitHub Desktop.
Save gashcrumb/ac8b907dcb58f659c1d31b37588580b8 to your computer and use it in GitHub Desktop.
brew update
brew upgrade
brew install --HEAD xhyve
# requires installing golang, 'brew install golang', set 'GOPATH' in your .bashrc to some directory like ~/go
go get github.com/docker/machine
cd $GOPATH/src/github.com/docker/machine
make build && make install
brew install docker-machine-driver-xhyve
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
# Follow the instructions here to get the binaries for all of these commands and put them in your PATH -> https://fabric8.io/guide/getStarted/minikube.html
minikube start --memory=6000 --vm-driver=xhyve
gofabric8 deploy -y
minikube service fabric8 # opens up the fabric8-console in your browser
minikube dashboard # opens up kubernetes dashboard in your browser
# May need to edit the fabric8 replication controller and fix the kubernetes URL so it works, go
# to 'replication controllers' click on the '...' and select 'edit', and then
# look for /k8s/=https://kubernetes/ and change it to /k8s/=https://kubernetes:443/ and then save
# then delete the existing fabric8 pod.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment