DEV Community

Tony Colston
Tony Colston

Posted on

starting to play around with microk8s and Virtualbox

#k8

I have some time off so I started setting up a cluster of VMs with VirtualBox and microk8s. https://microk8s.io/

I ended up using Ubuntu Server 18.04. Crazy how much has changed as time has gone on.

I did not get it working yet (not surprising).

I was still at the basic level of setting up my servers really. I needed to change to a static IP address and of course Ubuntu 18.04 has its own special way of doing that with netplan.

https://linuxconfig.org/how-to-configure-static-ip-address-on-ubuntu-18-04-bionic-beaver-linux

Netplan uses YAML as a configuration file format. I cannot help but think it was written by monkeys-without-brains. It is a known fact that only monkeys-without-brains like YAML. Sigh.

I am not a fan of YAML.

One other thing I had to look up syntax for was bringing interfaces up and down with the IP command.

http://tldp.org/HOWTO/Linux+IPv6-HOWTO/ch05s02.html

The syntax is blatantly bad. The ip command has been around a while but man ... what happened to ifup and ifdown ... do one thing linux. Sigh.

I then tried to get my servers to join each other and they refused. I checked that they could ping and ssh (which they could).

Getting it all running will happen another day!

Top comments (0)