Setting up MicroK8s on Ubuntu Core
SSH into your control plane node and install the latest version of the MicroK8s snap with strict confinement as in the following command:
sudo snap install microk8s --channel=latest/edge/strict
The following is the output after the execution of the preceding command, which confirms that the MicroK8s snap with strict confinement was successfully configured:
Figure 15.10 – Successful MicroK8s snap installation
Now that we have installed the MicroK8s snap, let’s run the microk8s status
command to verify its running state as follows:
microk8s status
The following is the output after the execution of the preceding command, which confirms that the MicroK8s snap with strict confinement is running successfully:
Figure 15.11 – MicroK8s snap is running
Strict confinement locks down the apps in the snap using Linux kernel security capabilities. Access will be extremely constrained...