Kubernetes lab Setup

Kubernetes lab Setup

ยท

2 min read

installation

firstly install the Minikube installer

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

click on latest release

then click agree

copy the path

after this, you can use Minikube to configure k8s server

use the copied path and go to terminal

you see minikube.exe exists

minikube.exe start

\>> Behind the scene this command download the Kubernetes virtual machine from the internet

\>> After download they will setup the entire virtual machine on the top of the virtual box

\>> Whatever configeration we need for the master and the worker node they will do everything for us

but you have to tell the minikube that you have to launch the virtual machine on the top of the virtual box.

minikube.exe start --driver=virtualbox

but also check which tools or drivers they support

click on driver page and in Windows they support these things

final command to use and install it on the top of the virtual box

minikube.exe start --driver=virtualbox --kubernetes-version=v1.20.0

if any error arises then check the logs and update it first use

minikube delete

then use minikube.exe start --driver=virtualbox --kubernetes-version=v1.20.0

if any error is cause then only

in this client use kubectl command to access or request the Kubernetes server

so we have to install kubectl to configure it

then go to the page

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

download the command on the same path where the minikube exists.

now if you check whether it works or not

see it configured successfully

Minikube is an automation tool to configure the Kubernetes cluster or server.

this is complete with the lab setup

hope this blog is helpful for you guys please like and share and enjoy the technical journey.

##want to connect with me::

My Contact Info:

๐Ÿ“ฉEmail:-

LinkedIn:-linkedin.com/in/mayank-sharma-devops

ย