Minikube - A Local Single-Node Kubernetes Cluster - Chapter 6

Minikube A Local Kubernetes Cluster. Minikube is the easiest and most popular method to run an all-in-one Kubernetes cluster in a virtual machine locally on our workstations.

Minikube - A Local Single-Node Kubernetes Cluster - Chapter 6
  • Discuss Minikube.
  • Install Minikube on local Linux, macOS, and Windows workstation.
  • Verify the local installation.

As we learned before, Minikube is the easiest way to run an all-in-one Kubernetes cluster locally on our workstations. We are going to explore the requirements and the installation process to set up Minikube locally.

In order to fully take advantage of all features Minikube has to offer, a Type-2 Hypervisor should be installed. We are guided through the installation of minikube, which can be accessed here.

Then we are able to minikube start the minikube cluster, check minikube status and finally minikube stop the cluster.

As docker brings more to the table than we will need in most cases, we will start our minikube cluster with CRI-O as its runtime. According to the CRI-O website

"CRI-O is an implementation of the Kubernetes CRI (Container Runtime Interface) to enable using OCI (Open Container Initiative) compatible runtimes."

minikube start --container-runtime=cri-o will start minikube with CRI-O instead of docker as runtime.

minikube ssh will let us login into the minikube VM.

docker containr ls will not produce any results, because docker is not running the containers. Instead we are going to list running containers with runc

After a small wrap up Video we are already done with today's Chapter