Minikube
minikube offers a simpler means of spinning up a single-node Kubernetes cluster. It supports a range of providers, and uses kubeadm
to provision the cluster.
Drivers
The cluster can be started either as a container or virtual machine, or run directly on the host. The driver used is selected with the --driver
switch to minikube start
.
- On Linux, directly on the host with no p.r.comp.virt (Private) (allowing privileged containers to perform operations directly on the host machine, so use with caution!).
- Docker (Private)
- HyperKit (Private)
- Hyper-V (Private)
- KVM (Private)
- Parallels (Private)
- Podman (Private)
- VirtualBox (Private)
- VMware (Private) Fusion and Unified Driver
Container runtimes
- Docker (Private) (default)
- containerd (Private)
- CRI-O
Usage
Set defaults for the next fresh start
:
minikube config set cpus 8
minikube config set driver hyperkit
minikube config set memory 16384
Spin up a new cluster, optionally overriding minikube's default driver selection.
minikube start [--driver hyperkit]
Stop the cluster:
minikube stop
List available services, optionally limiting results to the specified namespace:
minikube service list [-n $namespace]
Pop a browser open for the specified service, optionally in a specific namespace:
minikube service [-n $namespace] $service
If things go pear-shaped:
minikube destroy
Backlinks