Minikube

Minikube

Overview

Minikube is a tool that runs a single-node Kubernetes cluster locally on your personal computer, making it easy to learn Kubernetes and develop applications for it. As part of the Kubernetes SIG (Special Interest Group), minikube supports macOS, Linux, and Windows with a focus on being the best tool for local Kubernetes application development.

Minikube runs an all-in-one Kubernetes cluster inside a virtual machine (or container), handling everything from cluster creation to add-on management. With over 32,000 GitHub stars and 27,000+ commits, it is the most popular local Kubernetes solution, supporting multiple container runtimes and hypervisors with a single minikube start command.

Key Features

  • Single command cluster — Start a Kubernetes cluster with minikube start; stop with minikube stop; includes automatic driver detection for the best virtualization option
  • Multi-node clusters — Create multi-node clusters locally for testing scheduling, pod-to-pod networking, and node failure scenarios
  • Multiple container runtimes — Choose between Docker, containerd, CRI-O, Podman, or gVisor as the container runtime
  • Add-on marketplace — One-click enable add-ons like the Kubernetes Dashboard, Ingress Controller, Metrics Server, Istio, Helm, and more via minikube addons enable
  • Persistent volumes — Automatically provision hostPath persistent volumes for local development without a cloud provider
  • Load balancer emulation — Use minikube tunnel to expose LoadBalancer services on your local machine with a routable IP
  • Profile management — Run multiple independent Kubernetes clusters simultaneously using named profiles
  • GPU support — Enable NVIDIA GPU acceleration for machine learning workloads running on your local cluster
  • Dashboard and web UI — Launch the official Kubernetes Dashboard with minikube dashboard for visual cluster management
  • File system mounts — Mount host directories into the cluster for real-time file syncing during development

Why Use It

Minikube eliminates the barrier to entry for learning Kubernetes. Instead of setting up a multi-node cluster on cloud infrastructure, you get a fully functional Kubernetes environment on your laptop in minutes. It supports the complete Kubernetes API surface, meaning any application or configuration that works on a production cluster works on minikube. The integrated add-on system and driver auto-detection make it the smoothest path from zero to running Kubernetes locally.

Use Cases

  • Learning Kubernetes — Hands-on practice with pods, deployments, services, and ingress without cloud costs or complex setup
  • Local application development — Develop and test Kubernetes-native applications with hot-reloading and local file mounts
  • CI/CD testing — Run integration tests against a real Kubernetes API in CI pipelines
  • Add-on evaluation — Test Kubernetes add-ons (Ingress, Monitoring, Service Mesh) before deploying to production
  • Kubernetes certification prep — Practice CKA/CKAD exam scenarios locally with a production-like Kubernetes environment

Platforms

Linux · macOS · Windows

Licence

Apache License 2.0

Website

minikube.sigs.k8s.io · GitHub

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.