MicroK8s and OpenEBS
MicroK8s is a Kubernetes distribution from Canonical. It runs on Ubuntu and is advertised as a lightweight Kubernetes distribution, offering high availability and automatic updates. Today I going to setup a single node MicroK8s cluster and leverage OpenEBS storage for dynamic allocation. You can choose to install MicroK8S during the OS ubuntu as one of the extra packages install options or simply run the snap command on an existing system: sudo snap install microk8s --classic MicroK8S comes with kubectl baked in but by default it is in this form microK8S.kubectl. When I first run it I get some instructions about my permissions: I will run both commands and try again sudo usermod -a -G microk8s $USERsudo chown -f -R $USER ~/.kube After running newgrp microk8s I can see my node Typing microk8s.kubectl is going to be a nuisance so I will create and alias in my .bashrc file Then you can either logout login…