The guest additions on this VM do not match the install version of VirtualBox.

When a node is started with the “vagrant up” command, error below appeared about the Guest Additions version mismatch.

k8-master1: Checking for guest additions in VM…
k8-master1: The guest additions on this VM do not match the installed version of
k8-master1: VirtualBox! In most cases this is fine, but in rare cases it can
k8-master1: prevent things such as shared folders from working properly. If you see
k8-master1: shared folder errors, please make sure the guest additions within the
k8-master1: virtual machine match the version of VirtualBox you have installed on
k8-master1: your host and reload your VM.
k8-master1:
k8-master1: Guest Additions Version: 4.3.40

Most of the time everything will keep working just fine and you can ignore this message. But when it doesn’t (ie. your mounts won’t work anymore), you need to update you guest additions.

Fortunately there is the Vbguest plugin!

Just go to the directory where your Vagrantfile is located. And type the following command:

C:\Users\….\Documents\Vagrant-Lab\Worker-2> vagrant plugin install vagrant-vbguest
Installing the ‘vagrant-vbguest’ plugin. This can take a few minutes…
Installed the plugin ‘vagrant-vbguest (0.23.0)’!

Now every time you start you box with vagrant up your box will check if your Guest Additions version matches the one of your host, if not, it will update them automatically.

Series NavigationUnable to connect to the server: x509: certificate signed by unknown authority (possibly because of “crypto/rsa: verification error” while trying to verify candidate authority certificate “kubernetes”) >>