gcs icon indicating copy to clipboard operation
gcs copied to clipboard

Options to consume minikube

Open amarts opened this issue 6 years ago • 1 comments

The PR #6 adds support to kubespray based k8s install. Would like to know what is the major difference between minikube and this, and what it takes to support minikube in future.

amarts avatar Sep 20 '18 18:09 amarts

Just a few points to note.

  • Minikube only sets up a single node kube cluster. There are/were plans to support a multinode setup, but I've not followed up what's happened.
  • Both minikube and the vagrant setup in #6 result in libvirt vm(s) being created.
  • AFAIK, the there is no way to attach additional disks to the minikube VM using the minikube command itself. Though you can still add additional disks manually via libvirt/virsh, though I'm not sure if the VM would pick up disks attached during runtime.
  • Minikube does sets up a password less SSH to the VM. The ssh-id can be obtained from a minikube command.

It is possible to write a script that could launch a minikube vm, attach disks to it and create an ansible inventory file with the correct host address, ssh-id etc. With the proper inventory file we should be able to run the same deploy-gcs playbook to deploy GCS on minikube.

kshlm avatar Sep 21 '18 17:09 kshlm