Preparing an Ubuntu host to run Network Service Mesh

The following instructions assume Ubuntu 18.04.


Please add the following repo to ensure getting the latest Vagrant:

sudo bash -c 'echo deb any main > /etc/apt/sources.list.d/wolfgang42-vagrant.list'
sudo apt-key adv --keyserver hkp:// --recv-key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4


Although kubectl can be downloaded as a snap, we recommend using the official Kubernetes repo:

curl -s | sudo apt-key add
sudo apt-add-repository "deb kubernetes-xenial main"

Install everything needed

After adding these repos, one needs to update and install the required packages as follows:

sudo apt update
sudo apt install -y virtualbox vagrant kubectl

The Docker service needs to be enabled:

sudo systemctl enable docker

And then the current user should be added to the proper user group:

sudo usermod -aG docker $USER

Log out and log in again, so that the user group addition takes effect.