Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 (ndslabs-startup)

Our current ndslabs-startup/kube-up.sh relies on Hyperkube (Kubernetes in Docker)

...

MacOS

  • On MacOS, removing the /var/lib/kubelet volume actually works via kube-up.sh
  • Adding bind container makes DNS reasonably easy

Windows 10

  • Docker for Windows requires using Hyper-V (not Virtual Box)
  • So far unable to get Hyperkube to work under Windows 10/Hyper-V without Vm.
  • Our current ndslabs-startup/kube-up relies on Hyperkube, which is basically Kubernetes in Docker. 

Openstack VM

  • Process works well for OpenStack VMs
  • Editing PATH is annoying, but otherwise fine.

Azure VM

Vagrant

Vagrant is a tool to manage virtual machines. The approach described below comes from CoreOS as a method to deploy a Kubernetes cluster via VirtualBox (or similar). Vagrant has multiple providers, so it might be possible to use the same Vagrant configuration to deploy a Kubernetes cluster on VirtualBox on your laptop and deploy a full cluster on OpenStack. However, it's not clear how useful this might be.

MacOS

The VirtualBox/Vagrant approach suggested by David works 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 

 

Azure VM

  • Deployed Ubuntu 16.10 VM
  • Standard DS2_v2 (2 Cores, 7 GB memory). Wow, that takes a really long time.
  • apt-install docker.io
  • Standart kube-up.sh
  • Need to add endpoint for 443

Recommendations

  • Support both Minikube and Hyperkube installs of Labs Workbench to support 
  • Refactor ndslabs-startup to work under both Minikube and Hyperkube installs. 
    • Fix PATH
    • Improve kube-up (monitor status)
    • Improve ndslabs-up (more optional components, mustache, etc)