Not able to access the voting application through this given address during deploying Voting app on Kubernetes

Hello KodeKloud Mentors, I have


an issue regarding Kubernetes for the Absolute Beginners - Hands-on Tutorial course Under Microservices Architecture in Demo Deploying Voting Application on Kubernetes. I am not able to access the application through the given address.

I used NodePort 30006 in voting-app-service.yaml file & NodePort 30007 in result-app-service.yaml file.

Please help me out.

Hi @Pritam-Saha ,

Have you installed VirtualBox on your system?
If not, then install it first.
https://www.virtualbox.org/wiki/Downloads

and then follow these steps: -

minikube delete

To make Virtualbox the default driver: -

minikube config set driver virtualbox

Start minikube: -

minikube start

Regards,

And deploy the k8s resource again and try minikube service voting-service

Screenshot 2023-02-14 234105
It’s showing me this. Now, what to do?

Can you delete minikube?

Screenshot 2023-02-15 132314
Yes, but having the same issue.

Hi @Pritam-Saha,
It’s not an error message but information message, you can now run minikube start to start, and you can see that he’ll choose VirtualBox as driver by default

Regard

Hi @Pritam-Saha ,
Please follow the above approach. After deleteing the minikube, run the minikube start and share the feedback.

Regards,


What should I do now, I have enabled virtualization in the BIOS, But it’s not showing in the task manager section

Should I have to create a VM now On oracle virtual box ?

Hi @Pritam-Saha,
Please click on the CPU and share the SS.

Hi @Pritam-Saha,
Please check this thread.

Hi @Pritam-Saha ,

You will find the below steps on the above thread. I posted it here for your convenience.
FIX: VM → Settings → Processor → tick the option “Enable Nested VT-x/AMD-V” and press OK

In case, if you are not able to tick the option from VirtualBox UI then go to the Oracle folder and run the following commands:-

It will list the vms and you can check the minikube vm name.

VBoxManage.exe list vms

It will enable the option.

VBoxManage.exe modifyvm <VM-NAME> --nested-hw-virt on

Regards,

I have used this command from that thread, it automatically creates a Minikube VM

But both the VMs processor option is disabled why I have no idea.

Which command did you use?

minikube start --no-vtx-check

This command skipped the vtx check.

Try to create a voting app.

should I have to keep running the oracle VM in background?