DEV Community

Tony Colston
Tony Colston

Posted on

2

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!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay