Table of Contents

Minikube

Return to Kubernetes, kubectl, KiND, Docker

minikube is a tool that allows users to run a local Kubernetes cluster on their development machine. Minikube is often used for testing and development purposes, providing a simple environment to simulate Kubernetes deployments without needing a full production cluster.

https://formulae.brew.sh/formula/minikube

Minikube is a powerful tool that simplifies the process of setting up and running a single-node Kubernetes cluster directly on your local machine. By creating a virtual machine (VM) or utilizing a container runtime like Docker, Minikube provides a convenient and accessible way to experiment with Kubernetes, develop applications, and test deployments without the need for a full-fledged, multi-node cluster.

Key Features

Benefits

Code Examples

1. **Starting Minikube:**

```bash minikube start ```

This command launches a Minikube cluster, creating a VM (or using a container runtime) and configuring the necessary Kubernetes components.

2. **Accessing the Kubernetes Dashboard:**

```bash minikube dashboard ```

This command opens the Kubernetes dashboard in your default web browser, providing a graphical interface for interacting with the cluster.

3. **Enabling an Addon:**

```bash minikube addons enable ingress ```

This command enables the ingress addon, which provides an ingress controller for exposing services outside the cluster.

Additional Resources

minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. We proudly focus on helping Kubernetes application developers and new Kubernetes users.

Highlights

minikube provisions and manages local Kubernetes clusters optimized for development workflows.

Basic Minikube Commands:

Minikube Images Commands:

Minikube Configuration and Management Commands:

Minikube Networking and Connectivity Commands:

Advanced Minikube Commands:

Minikube Troubleshooting Commands:

Other Commands:

Use “minikube <command> --help” for more information about a given Minikube command.