STEP 1 (Update and Upgrade the System)
sudo apt update
sudo apt upgrade
STEP 2 (Install MicroK8s)
sudo snap install microk8s --classic
STEP 3 (Enable important modules)
microk8s enable dns storage ingress
STEP 4 (Get Kube config file)
microk8s config > config
Incase snap is not installed, you can run