home / containers / minikube

minikube

Official · Kubernetes
32k

Local Kubernetes cluster CLI for starting clusters, enabling addons, exposing services, and testing Kubernetes workflows on a developer machine.

$brew install minikube
Language
Go
Stars
31,563
Category
Containers & K8s
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

minikube creates and manages local Kubernetes clusters on a developer machine. It wraps cluster startup, driver selection, addon management, and local-access workflows around a disposable Kubernetes environment.

What It Enables
  • Start, stop, pause, delete, and manage multiple named local clusters with different Kubernetes versions, drivers, node counts, runtimes, and addon selections.
  • Expose local services and LoadBalancers with service and tunnel, open the dashboard, and point local image builds at the cluster with docker-env.
  • Check cluster, node, version, and addon state before handing workload operations off to kubectl against the cluster it created.
Agent Fit
  • Several high-value commands support structured output, including status --output json, version -o json, docker-env -o json, addons list -o json, and lifecycle commands such as start or stop with --output=json.
  • Useful when an agent needs to provision, reset, or inspect a disposable local cluster before running kubectl, tests, or platform setup steps.
  • Less clean for unattended automation than cloud CLIs because success depends on local drivers and privileges, and helpers like dashboard, service, or tunnel can open browsers or require a live terminal.
Caveats
  • It manages the local cluster environment rather than general Kubernetes resources, so most workload changes still happen through kubectl.
  • Driver setup, container runtime availability, and privileged networking can be the real source of failure, not the CLI syntax.