Sitemap

MiniKube

2 min readMay 23, 2022

--

Minikube is a lightweight Kubernetes implementation that creates a VM on your local machine and deploys a simple cluster containing only one node. MiniKube is available for Linux, macOS, and Windows systems.

It can be used mostly for practice for beginners as it has all required components in one.

Press enter or click to view image in full size

Pre-requisites:
-
2 CPUs or more
- 2GB of free memory
- 20GB of free disk space
- Internet connection
- Container or virtual machine manager (e.g. VirtualBox)
- Virtual Machin Platform & Windows Hypervisor Platform should be unchecked in Control Panel (Turn windows feature on or off)

Installation of Minikube in Windows:
We will download and install — Virtualbox, Minikube & kubectl

Step1: Download the Minikube setup from https://minikube.sigs.k8s.io/docs/start/

Step2: Install the minikube exe file

Step3: Open CMD in your Windows and Start Minikube:
Type below command

Press enter or click to view image in full size

Step4: Install kubectl by curl command in CMD:
> curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.11.0/bin/windows/amd64/kubectl.exe

Get ZOhaib Ali’s stories in your inbox

Join Medium for free to get updates from this writer.

After installation, please check following status:

And

Press enter or click to view image in full size

If kubectl is not installed properly, you may try following command
> minikube kubectl

This will also be visible now on your VirtualBox in Running state (VirtualBox should be already installed):

Some useful Commands:

>minikube ip (to check the ip of minikube)

>minikube ssh (for doing ssh on minikube)

>ifconfig (to check ip config after ssh)

To login via putty, simply ssh <ip of minikube>
It will then ask “login as: docker”ku, Password: tcuser “, these are default values.

>minikube dashboard (for opening the GUI of minikube in web browser)

--

--

ZOhaib Ali
ZOhaib Ali

Written by ZOhaib Ali

I am Information technology enthusiast. I work on network & data security. I am here to share my experience & knowledge with others.