DevOpsLesson
DevOpsLesson

Free, comprehensive DevOps tutorials and learning roadmaps. Master Docker, Kubernetes, CI/CD, and more.

Stay Updated

Get notified about new tutorials and features.

Tutorials

  • What is DevOps?
  • Docker Tutorial
  • Terraform Tutorial
  • CI/CD Pipeline
  • All Tutorials

Roadmaps

  • DevOps Engineer
  • Cloud Engineer
  • SRE Path
  • All Roadmaps

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 DevOpsLesson. All rights reserved.

DOCKERKUBERNETESTERRAFORMAWSCI/CDLINUXGITDEVOPS ROADMAPCLOUD ROADMAPSRE ROADMAPGIT CHEATSHEETDOCKER CHEATSHEETK8S CHEATSHEETTF CHEATSHEETLINUX CHEATSHEETDOCKERFILE LINTERYAML VALIDATORCRON PARSERREGEX TESTER

Kubernetes Tutorial

Introduction to Kubernetes
Kubernetes Architecture
Installing Kubernetes
kubectl Basics
Kubernetes Pods
Kubernetes Deployments
Kubernetes Services
ConfigMaps and Secrets
Kubernetes Storage
Kubernetes Namespaces
Kubernetes Resource Management
Helm for Kubernetes
Kubernetes Monitoring

Installing Kubernetes with Minikube

PreviousPrev
Next

Set up Minikube on macOS, Linux, or Windows and learn the core commands for starting, inspecting, and stopping your local cluster.

What Is Minikube?

Minikube is a tool that runs a local Kubernetes cluster on your laptop or workstation. It is ideal for learning, experimenting, and trying manifests without paying for cloud infrastructure.

Think of Minikube like a personal practice gym for Kubernetes. You can learn the movements safely before stepping into a full production environment.

Before You Install

Minikube needs a virtualization or container driver such as Docker, HyperKit, Hyper-V, or VirtualBox depending on your operating system.

Install on macOS

brew install minikube

If you plan to use Docker as the driver:

brew install docker

Install on Linux

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

Install on Windows

You can install Minikube with Chocolatey or download the installer.

choco install minikube

Start a Cluster

The simplest startup command is:

minikube start

You can also customize the driver and resources:

minikube start --driver=docker --cpus=4 --memory=8192

Common Flags

FlagMeaning
--driverSelects the virtualization or container driver
--cpusSets how many CPUs Minikube can use
--memorySets RAM for the cluster

Check Cluster Status

minikube status

Typical output shows whether the host, kubelet, and API Server are running.

Open the Dashboard

minikube dashboard

This opens the Kubernetes dashboard in your browser so you can inspect workloads visually.

Stop the Cluster

minikube stop

This stops the cluster but preserves its state so you can start it again later.

Useful Workflow

minikube start --driver=docker
kubectl get nodes
minikube dashboard
minikube stop

Why Minikube Is Good for Beginners

Minikube gives you a real Kubernetes API with a simple setup path. That means the YAML, kubectl commands, and concepts you learn here transfer well to larger clusters.

Common Beginner Mistakes

Starting Without Enough Resources

If Minikube feels slow, increase CPUs and memory.

Forgetting the Driver

If startup fails, explicitly choose a driver such as Docker.

Expecting Cloud Features Automatically

Minikube is local. Some production cloud behaviors, especially external load balancers, work differently.

Exercise

Minikube Goal

What is the main purpose of Minikube?

Exercise

Stopping vs Deleting

What does `minikube stop` do?

PreviousPrev
Next

Continue Learning

Introduction to Kubernetes

Learn what Kubernetes is, why it exists, and how it solves container orchestration at scale with real-world examples.

15 min·Easy

Kubernetes Architecture

Understand the control plane, worker nodes, and the end-to-end request flow that turns a kubectl command into a running pod.

20 min·Easy

Installing Kubernetes

Compare local and managed Kubernetes options so you can choose the right environment for learning, testing, or production.

18 min·Easy

Explore Related Topics

Do

Docker Tutorials

Build the containers Kubernetes orchestrates

Te

Terraform Tutorials

Provision Kubernetes clusters as code

Try the Tool

YAML Validator

Validate Kubernetes manifests and any YAML files instantly.

On This Page

What Is Minikube?Before You InstallInstall on macOSInstall on LinuxInstall on WindowsStart a ClusterCommon FlagsCheck Cluster StatusOpen the DashboardStop the ClusterUseful WorkflowWhy Minikube Is Good for BeginnersCommon Beginner MistakesStarting Without Enough ResourcesForgetting the DriverExpecting Cloud Features Automatically