What Does Minikube Do?

Minikube is a one node Kubernetes cluster that runs in VirtualBox on your local machine in order to test Kubernetes on your local set up. In order to setup a production cluster, we need multiple master notes and multiple worker nodes. Master nodes and worker nodes have their own separate responsibilities. In order to test something on our local environment for example – deploying a new application or a new component and to test it on our local machine, it will be very difficult and would consume a lot of resources like CPU, memory etc.

Minikube comes into play here. Minikube is an open-source tool that is basically like a one node cluster where the master processes and the work processes both run on one node. This node must have a Docker container runtime pre-installed to run the containers or pods with containers on this node.

Kubernetes Minikube

Minikube is a one-node Kubernetes cluster where master processes and work processes both run on one node. According to the official documentation of Minikube, Minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes. A prerequisite to use Minikube is a Docker container or a Virtual Machine environment. Minikube provides you a way to easily deploy application on Kubernetes for learning and developing purposes even if you don’t have enough resources like memory, CPU etc.

Similar Reads

How to Install Minikube(Windows)?

Follow these steps to download Minikube via CLI, you can also check out Minikube’s official website to download the .exe version....

What Does Minikube Do?

Minikube is a one node Kubernetes cluster that runs in VirtualBox on your local machine in order to test Kubernetes on your local set up. In order to setup a production cluster, we need multiple master notes and multiple worker nodes. Master nodes and worker nodes have their own separate responsibilities. In order to test something on our local environment for example – deploying a new application or a new component and to test it on our local machine, it will be very difficult and would consume a lot of resources like CPU, memory etc....

Deploying a Service Using Minikube and Kubectl

Kubectl is the Kubernetes CLI tool. To know more about Kubectl, read the following article on GeeksforGeeks – Kubernetes – Kubectl. Follow these steps to deploy a service using Minikube and Kubectl:...

Some common Minikube command

1. Deleting The Minikube Cluster...

Conclusion

In this article we learned about Minikube and how to use it. It is a one node Kubernetes cluster where master processes and work processes both run on a single node. Minikube is a very useful to to deploy and test Kubernetes applications locally. We learned about how to install Minikube along with Kubectl in our local machine and we created a service and deployed it using Minikube. Deploying application through Minikube is very straight forward using minikube and kubectl commands. Later we discussed some common useful Minikube commands. We hope that this article taught you about what Minikube is, how it works and how to deploy an application using Minikube. Make sure to follow other articles on GeeksforGeeks to know about more tools in DevOps....

FAQs on Kubernetes Minikube

1. What are the prerequisites before learning Minikube...