Thursday 9 July 2020

Kubernetes: setup minikube in local

What is Minikube?

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a Virtual Machine (VM) on your laptop for users looking to try out Kubernetes or develop with it day-to-day.

 

Prerequisite

a.   Install Docker (https://self-learning-java-tutorial.blogspot.com/2019/05/installing-docker-in-mac.html)

b.   Install VirtualBox (https://www.virtualbox.org/wiki/Downloads)

 

Install Kubectl

Step 1: Install Kubectl.

 

Read steps in the below link and install kubectl.

https://kubernetes.io/docs/tasks/tools/install-kubectl/

 

Step 2: After successful installation, execute the command ‘kubectl version --client'.

$kubectl version --client
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"darwin/amd64"}

Install Minikube

Read step in the below link and install minikube.

https://kubernetes.io/docs/tasks/tools/install-minikube/

 

Execute the command ‘minikube version’ to validate the installation.

$minikube version
minikube version: v1.9.2
commit: 93af9c1e43cab9618e301bc9fa720c63d5efa393





Previous                                                    Next                                                    Home

No comments:

Post a Comment