vagrantfile to install kubernets cluster of two nodes verified on ubuntu 18
Steps:
1- install virtual box
sudo apt update
sudo apt upgrade
apt install libvirt-daemon-system
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
sudo apt update
sudo apt install virtualbox-6.0
2- install vagrant
sudo apt install vagrant
3- clone this project and execute Vagrant file
-> git clone https://github.com/shahzadkazama/vagrant-kubernetes-cluster.git
-> cd vagrant-kubernetes-cluster
-> vagrant up