Install Kubernetes with Minikube
To start learning Kubernetes, you need a cluster to experiment with. The easiest way is to use Minikube, which creates a single‑node Kubernetes cluster on your local machine.
Prerequisites
- A working Docker installation (or another container runtime).
- At least 2 CPUs and 2 GB of free RAM.
- Internet connection to download images.
Installing Minikube
On Windows: Download the minikube.exe from the official site and add it to PATH, or use a package manager like Chocolatey:
choco install minikubeOn macOS (using Homebrew):brew install minikubeOn Linux (Ubuntu):curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikubeStarting Your Cluster
Run:
minikube startThis will download a virtual machine image and start a Kubernetes cluster. Wait until you see a message like "Done! kubectl is now configured".Verifying the Cluster
Check cluster info:
kubectl cluster-infoView nodes:kubectl get nodesYou should see one node with status Ready.Stopping the Cluster
When you’re done, stop the cluster to free resources:
minikube stopTo delete the cluster entirely:minikube deleteTwo Minute Drill
- Minikube creates a local Kubernetes cluster for learning.
- Install minikube via package managers or direct download.
- Start cluster:
minikube start. - Verify with
kubectl cluster-infoandkubectl get nodes. - Stop with
minikube stop; delete withminikube delete.
Need more clarification?
Drop us an email at career@quipoinfotech.com
