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

Ubuntu-Docker Image on Mac & Docker Image Caching

Debugging For Beginners

Returning To Windows: The search for the holy shell.

7 Things you shouldn’t care about as a programming beginner.

PostgreSQL Application in Image Search and Video and Image Deduplication

Filling Editable PDF in Python

What Is Stream Output?

Top 3 resources to learn Web development for free

An image of a man working on his computers

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

An Introduction to Docker Container Technology -1

Docker transfer.sh with SSL and Apache Proxy

Backup Elasticsearch cluster to minio S3 server (Part 2)

What is making your Docker image bloat?