Starting/stopping MicroK8s
MicroK8s will run indefinitely unless you instruct it to stop. With these simple commands, you can stop and start MicroK8s.
To stop a MicroK8s cluster, use the microk8s stop
command:
Figure 2.15 – Use the stop command to stop the MicroK8s cluster
To start the MicroK8s cluster, use the microk8s start
command:
Figure 2.16 – Use the start command to start the MicroK8s cluster
MicroK8s will automatically restart after a reboot if you keep it running. If you don't want this to happen, simply run microk8s stop
before turning off the computer.
We've seen how to start and stop a MicroK8s cluster. In the following section, we'll look at how to configure MicroK8s to work with local images.