...
- Kubernetes Hyperkube
- Minikube
- CoreOS single-node Vagrant (Hyperkube)
- CoreOS multi-node Vagrant
- VirtualBox
Minikube
Minikube runs Kubernetes in a single VM.
...
- Install VirtualBox (can also use Hyper-V, but not tested here)
- Disable Hyper-V: Settings > Turn Windows Features on or off; uncheck Hyper-V
- Download minikube for Windows
- minikube.exe start
- Will make changes to VirtualBox
- Works well on Windows
Linux/VM
- Minikube will work on Linux, but so far we haven't been able to use it on a VM (e.g., OpenStack). Hyperkube works for this.
Hyperkube
Our current ndslabs-startup/kube-up.sh relies on Hyperkube (Kubernetes in Docker)
- This works well on OpenStack VMs
- Doesn't work well for Docker on Windows/MacOS
- Our current ndslabs-startup/kube-up relies on Hyperkube, which is basically Kubernetes in Docker.
- Hyperkube works fine on CoreOS boxes in OpenStack, but has proven problematic under Docker for Mac and Docker for Windows due to permissions problems.
- The CoreOS project provides a process for launching Kubernetes on CoreOS, using another hyperkube image
Vagrant
...
MacOS
...
The VirtualBox/Vagrant approach suggested by David at first glance appears to be a better approach than Minikube for a laptop-based installationworks on MacOS. As with Minikube, this will not work on an OpenStack or other VM without running a different virtualization package (VirtualBox won't work in a VM). It's not clear that Vagrant will support this configuration.
...
- Domain name (dnsmasq)? For now add /etc/hosts entry
- IP address – IP of master node – same as used by kubeconfig
- ndslabs-up.sh
- kubectl label will change
- Email fails, but could output to log?
- No addons, currently
- Added bind service to support local DNS, based on instructions in
- http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/
- Worked like a charm, did have to add DNS server to network settings
...
Windows 10
...
- Install Virtualbox
- Install vagrant
- Install git
Minikube (MacOS)
- I've been trying to run with Minikube locally for development and haven't been thrilled.