Both minishift and minikube "just work" on your mac.
But, be careful.
When running minishift
If you run into problems...
- Use the --show-libmachine-logs option.
- Try --vm-driver=virtualbox instead of the default of xhyve.
Its very convenient to monitor progress if you open up the virtualbox gui, because some steps can be slow (i.e. check container networking).
- Try to rm -rf ~/.minishift . If you dont do this minishift can get into a ghost VM situation, where your VM will never come back.
minishift start --logtostderr --show-libmachine-logs --vm-driver virtualbox
Starting local OpenShift cluster using 'virtualbox' hypervisor...
(minishift) Trying to access option engine-install-url which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key engine-install-url
(minishift) Trying to access option swarm-master which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to bool for key swarm-master
(minishift) Trying to access option swarm-host which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-host
(minishift) Trying to access option swarm-discovery which does not exist
(minishift) THIS ***WILL*** CAUSE UNEXPECTED BEHAVIOR
(minishift) Type assertion did not go smoothly to string for key swarm-discovery
(minishift) Type assertion did not go smoothly to bool for key virtualbox-host-dns-resolver
(minishift) Type assertion did not go smoothly to bool for key virtualbox-hostonly-no-dhcp
Running pre-create checks...
(minishift) Type assertion did not go smoothly to bool for key virtualbox-no-share
(minishift) Type assertion did not go smoothly to bool for key virtualbox-no-dns-proxy
(minishift) Type assertion did not go smoothly to bool for key virtualbox-no-vtx-check
Creating machine...
(minishift) Downloading /Users/jayunit100/.minishift/cache/boot2docker.iso from file:///Users/jayunit100/.minishift/cache/iso/minishift-b2d.iso...
(minishift) Creating VirtualBox VM...
(minishift) Creating SSH key...
(minishift) Starting the VM...
(minishift) Check network to re-create if needed...
(minishift) Waiting for an IP...
When running minikube
Make sure you upgrade your Virtualbox version. The same arguments for minishift apply if you have problems.

No comments:
Post a Comment