From their respective github repositories:
Vagrant is a tool for building and distributing development environments.
MicroK8s is a small, fast, single-package Kubernetes for developers, IoT and edge.
Easily install microk8s on a local ubuntu virtual machine. The provision script will install a few microk8s add-ons, docker, and setup aliases.
I've always been a huge fan of Vagrant. Dead simple testing on any linux os. No cloud costs. And the freedom to do anything, knowing that any mistakes can be resolved with a good ol' vagrant destroy
.
This will create an ubuntu vm, and install microk8s.
vagrant up
vagrant ssh
kubectl get nodes
kubectl get all --all-namespaces
vagrant destroy
Feel free to contribute!