# Kubernetes Lab Setup

Firstly open a site and download the minikube extension which is the best software to run kubernetes

[minikube start | minikube (k8s.io)](https://minikube.sigs.k8s.io/docs/start/)

Press on the above link and download the link 👆

and then install the minikube and then open it on cmd by that minikube path

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700075114635/feca57dd-3fca-4c4b-acbd-45bb4c3984a6.png align="center")

that's the path and open it

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700075177745/adbfa4cc-4785-47c6-b0f7-3ee16b915eb6.png align="center")

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

use this above command on the cmd as shown in the cmd 👆👆

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700075248172/5be2f9c6-70c3-49a1-a491-68595fc797d4.png align="center")

as it will take some time but it will done

**now open other cmd of same of the minikube**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700075316425/d259a56b-23ea-479f-8a41-e29292698cdd.png align="center")

`curl.exe -LO "`[`https://dl.k8s.io/v1.28.3/bin/windows/amd64/kubectl.exe.sha256`](https://dl.k8s.io/v1.28.3/bin/windows/amd64/kubectl.exe.sha256)`"`

**and then use the above command 👆👆**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700075448654/37812dfa-e20c-4f4d-90c5-a9aff1589512.png align="center")

`minikube status`

now when the installation of minikube is complete then use the command minikube status to check is this running or not.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700076463590/62e28053-8948-42d7-b4f0-8b58cfb0f2b5.png align="center")

`kubectl.exe cluster-info`

**now use the above command 👆👆**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700076783479/4603c3af-25ae-4d77-b7be-5c80bf89fed5.png align="center")

as you can see that there is no pods are in the above screenshot

**now we are creating a new pods by the below command 👇**

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700076926924/23dab7a3-57b7-4576-955a-44380f320113.png align="center")

here we are creating a new pod by the command `kubectl.exe run azfar --image=httpd`

and then when we check the pod by the command `kubectl.exe get` pods then it will show as shown in the above screenshot 👆👆

**If you want to delete the pods then use the below command 👇👇**

`kubectl delete pods azfar`

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700077801856/01e999bb-b971-423d-89bd-1d9a0ef702be.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1700077659624/5aaae4f8-0097-4c9d-9ab6-283e55f09323.png align="center")

# Troubleshooting-

While starting Minikube, you are facing the issue: "This computer doesn't have VT-X/AMD-v enabled," as shown in the screenshot below.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1714579151607/e557cf3f-7d71-4556-9960-8f854ad5822a.png align="center")

**Then you should use this command to resolve this-**

`minikube.exe start --no-vtx-check`
