Install Minikube on Mac OS

BalaSubramani K
KUBELANCER PRIVATE LIMITED
2 min readJun 19, 2024

Colima instead of Docker Desktop

MiniKube

Minikube is an open-source tool that facilitates running Kubernetes clusters on a local machine for development and testing purposes. It is designed to be a lightweight and easy-to-use solution to set up a single-node Kubernetes cluster on your local environment. Minikube runs a single-node cluster inside a virtual machine (VM) on your local system.

To run Minikube, need a Hypervisor , here we can use Colima. Alternate can use Docker Desktop / Hyperkit / VirtualBox / QEMU / Podman /Parallels / VMware Fusion.

Install Colima on Mac

$ brew install colima

Start colima

$ colima start

Verify

$ colima status

Install Minikube on MacOS

Run the below commands to download binary

$ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-darwin-amd64

Run below command to get Install

$ sudo install minikube-darwin-amd64 /usr/local/bin/minikube

Start Minikube

$ minikube start

Verify

$ minikube status

Minikube useful Commands

Start Minikube

$ minikube start

Stop Minikube

$ minikube stop

Delete Minikube

$ minikube delete

Minikube status

$ minikube status

SSH into Minikube

$ minikube ssh

Dashboard

$ minikube dashboard

Service List

$ minikube service list

Minikube Tunnel

$ minikube tunnel

Creates a network tunnel to expose services of type LoadBalancer to your local machine.

--

--

BalaSubramani K
KUBELANCER PRIVATE LIMITED

Senior Cloud and DevOps Infrastructure Engineer | Multi-Cloud Solution Architect | Consultant | Containerization | Cloud Native | Mobile | Serverless