I have deployed pods running nginx using helm, but when I do minikube service service_name, I see my service running on localhost as shown below.
I thought that you need to access the service via the cluster IP not localhost?
I tried to access it using the cluster ip with the port of the service, but it doesn’t seem to work.
I also tried to run it again after stopping docker, but it seems that docker is required to start the kubernetes cluster.
I’m following this kubecon demo , in the demo she can access it using the cluster ip just fine.
2
Answers
It seems that the problem is the cluster was created using default docker driver.
Here's the thread that I found the solution, enter link description here
Just needed to start minikube cluster using virtualbox as the driver.
This is achieved using
minikube tunnel
command executed in separate terminal. This creates a tunnel and adds route to ClusterIP range.