I have a VM installed on my desktop which is running windows 8 and with minikube i am running a single-node kubernetes cluster on the VM. Now i want to expose a service so as to access it from outside my VM e.g from chrome browser of my desktop or from anywhere else.
I have already tried the "kubectl expose" command but didn't succeed. So what should i do to implement this?
Did you use the nodeport service when you made the kubernetes service? If so, you can access your service through your vm it's ip and the port you assigned with the nodeport k8s service.