Getting started with microk8s

Overview

I built a k8s cluster on 3 Intel NUCs with microk8s that includes clustered storage using Mayastore (OpenEBS), snapshots, load balancing and control plane resilience.

Selecting Hardware

I chose Intel NUC devices specifically for their support of an extra 2.5" drive in addition to an NVMe OS drive …

more ...

Install and configure microk8s

Installation

You could of course do this with Ansible or any other orchestration tool. I didn't.

newgrp microk8s
sudo snap install microk8s --classic --channel=1.26/stable
echo alias mkctl=\"microk8s kubectl\" > ~/.bash_aliases
sudo usermod -a -G microk8s ubuntu
sudo chown -f -R ubuntu ~/.kube

# Dump the config to access …
more ...