9 Creating A Local Kubernetes Cluster With Minikube
9 Creating A Local Kubernetes Cluster With Minikube
A few moments later, a new Minikube VM will be created and set up, and a
cluster will be ready for use.
The localkube library includes all the components necessary for running
Kubernetes. We’ll go into details of all those components later. For now, the
important thing is that localkube provides everything we need to run a
Kubernetes cluster locally.
Minikube simplified architecture
Veri cation #
Let’s take a look at the status of the cluster.
minikube status
host: Running
kubelet: Running
apiserver: Running
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
Minikube is running, and it initialized a Kubernetes cluster. It even
configured kubectl so that it points to the newly created VM.
minikube dashboard
The above command will redirect you to the following page on your browser.
Feel free to explore the UI but don’t take too long. You’ll only get confused
with concepts that we did not yet study. Once we learn about pods, replica-
sets, services, and a myriad of other Kubernetes components, the UI will start
making much more sense.
In the next lesson, we’ll explore some other useful Minikube commands.