When to use MiniKube and when to use Kubernetes?

11/14/2019

I've found a partial answer Difference between Minikube, Kubernetes, Docker Compose, Docker Swarm, etc here, but I still do not completely get it:

In my understanding, kubernetes is a container-orchestration system. However, Minikube looks very similar to me.

Can somebody explain me when you would use minikube versus when you would use minikube, and why?

-- Psychotechnopath
kubernetes
minikube

2 Answers

11/14/2019

I think your question should have been "Can somebody explain me when you would use minikube versus when you would use Kubernetes, and why?"

Minikube is a small and easy Kubernetes setup for your Work-PC. You can install and configure a Kubernetes cluster very easily with it. However, for a production environment it is not the best choice. Minikube normally starts a virtual machine on your PC witch will affects the performance of your cluster other than Kubernetes which will run directly with your kernel if you use linux. Furthermore, like Butuzov already answered, it is only one node, not a "real" cluster.

So you use Kubernetes if you are in a production environment where you need distributed systems and workload as well as redundancy and failure safety.

Hope that helps for your understanding.

Edit: Use cases

Minikube:

  1. Developer or DevOps who trying to execute a complex distributed system locally for testing purposes but with deployment over Helm.
  2. Developer or DevOps who tries to create a deployment with Helm locally.

Kubernetes (standalone):

  1. Execute complex distributed system on production systems.
  2. Execute heavy workload (multiple products, distributed systems) in production
-- Dennis
Source: StackOverflow

11/14/2019

minikube - is one node cluster, with a master that can get loads, with a lot of solved and automated issues. designated to test, learn things from kubernetes ecosystem.

kubernetes itself is orchestrator that can come to you as managed service with a lot of problems (pv or loadbalancers) solved or like a lego, or you will tune here and there... well thing we called production ready.

minikube is ok to learn (not always but in 90% of cases) or experiment with tiny loads.

-- Oleg Butuzov
Source: StackOverflow