Getting Started with microk8s

I think there’s an open question around the recommended simplest/fastest getting started path but I’ve been trying out the current Getting Started guide (http://docs.entando.com/local-install.html#install-kubernetes) and found I needed to add a step in order to install Entando using microk8s.

sudo microk8s.enable dns ingress storage dashboard

2 Likes

Another point here, I recently had to install microk8s on a new machine from scratch and when trying to enable the dns functionalities I was getting this error

systemctl: /snap/microk8s/1378/usr/lib/x86_64-linux-gnu/libp11-kit.so.0: no version information available (required by /usr/lib/systemd/libsystemd-shared-245.so)
systemctl: symbol lookup error: /usr/lib/systemd/libsystemd-shared-245.so: undefined symbol: p11_kit_uri_get_slot_info, version LIBP11_KIT_1.0
Failed to enable dns

I’ve found there’s an issue opened for this on the microk8s github project

I was able to fix the issue by installing the edge version of microk8s via snap

sudo snap install microk8s --classic --channel=edge

I understand the --classic, bu is --channel=edge really required?

That’s what solved the issue for me, as the --classic flag wasn’t enough, as reported in github issue I’ve linked above

The edge channel distributes development versions, so high risk.

We may try with one of these:

before using the edge

@l.cherubin

As anticipated on the github issue you linked the required fix is now stable with v1.18.3

Just tried with:

Ubuntu    20.04 LTS
microk8s  v1.18.3 (snap latest/stable channel)

works