Play with minikube

minikube quickly setup a local Kubernetes cluster on our personal computer. So you can try out Kubernetes very easily.

1. Install minikube

You need docker or a virtual machine environment.

requirements

  • 2 CPUs or more
  • 2GB of free memory
  • 20GB of free disk space
  • docker or virtual machine manager(VirtualBox, VMWare)

a. First download the latest minikube

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb

b. Install with dpkg

sudo dpkg -i minikube_latest_amd64.deb

c. Check the minikube version

minikube version

2. Install kubectl

The kubectl is command line tool for controlling Kubernetes cluster.

a. Download the kubectl

curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl

b. Check the version

kubectl version -o json

3. Play with minikube

a. Start minikube

minikube start

first time it is downloading minikube docker from the gcr.

b. Stop minikube

minikube stop

c. Status of minikube

minikube status

d. List of installed Minikube addons

minikube has a built-in list of applications and services that may be easily deployed, such as Istio or Ingress.

minikube addons list

To enable an add-on, see:

minikube addons enable <name>

To disable an addon:

minikube addons disable <name>

e. Dashboard

minikube dashboard

4. References

https://minikube.sigs.k8s.io/docs/

https://kubernetes.io/docs/tutorials/hello-minikube/

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Improving Redis Performance through Multi-Thread Processing

[Leetcode] Backspace String Compare

Best Practices in AutoNavi: Benefits of Serverless on Large Scale Implementations

How did I Passed the AZ-900: Microsoft Azure Fundamentals Exam

OCamlPro’s compiler team work update

Modern C++ in Advent of Code: Day8

#SideNotes — Linked List — Abstract Data Type and Data Structure

124. Binary Tree Maximum Path Sum

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pramod Shehan

Pramod Shehan

More from Medium

Kubernetes Series — Part 01

ISTIO, Docker for windows and minikube

OpenShift vs Docker

Docker deep level with architecture — part 1