Minikube commands
So far, we have used the minikube start
and minikube status
commands to launch our single-node Kubernetes cluster and check that everything is running as expected. Before we look at interacting with Kubernetes, there are a few more basic Minikube commands I would like to cover.
Stop and delete
As we are running our single-node Kubernetes cluster as a virtual machine on your host, you may not want it running all of the time, using resources.
There are two options to achieve this, the first of which is minikube stop
. This command will stop your node and keep the virtual machine intact. You should use this command if you plan on picking up where you left off when you next start your node by running minikube start
.
While the minikube stop
command stops your virtual machine from using CPU and RAM resources on the host machine, the hard disk image used to host the virtual machine will still be present on your machine. While a freshly launched cluster does not take much space on...