Photo by CJ Dayrit on Unsplash

MicroK8s: Unleashing power of Kubernetes in a Snap

If you are a Kubernetes enthusiast but have not yet experimented with MicroK8s, then this post is for you.

sudo snap install microk8s --classic
sudo snap install microk8s --classic --channel=1.18/stable
sudo snap info microk8s
sudo usermod -aG microk8s <username>
microk8s start
microk8s stop
Figure-1: Some sample imperative commands
alias k='microk8s.kubectl'
k run nginx --image nginx --restart Never

Solutions architect by profession, programmer by passion and photographer by choice…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store