Unable to reach the application using Ingress in Minikube (macOS)

Viewed 49

I am trying to follow this tutorial to setup Minikube on my MacBook.

Minikube with ingress

I have also referred Stack overflow question and Stack over flow question 2 both of these are not working for me.

When I run Minikube tunnel it says to enter the password and then get stuck after entering my password.

sidharth@Sidharths-MacBook-Air helm % minikube tunnel     
✅  Tunnel successfully started
 
  NOTE: Please do not close this terminal as this process must stay alive for the     tunnel to be accessible ...

❗  The service/ingress example-ingress requires privileged ports to be exposed: [80 443]
  sudo permission will be asked for it.
❗  The service/ingress minimal-ingress requires privileged ports to be exposed [80 443]
  Starting tunnel for service example-ingress.
  sudo permission will be asked for it.
  Starting tunnel for service minimal-ingress.
Password:

I am getting the below response when I run kubectl ge ingress

NAME              CLASS   HOSTS              ADDRESS     PORTS   AGE
example-ingress   nginx   hello-world.info   localhost   80      34m
1 Answers

This is an issue specifically with the docker driver, and it's only an output issue. If you use a VM driver (like hyperkit for macOS), you'll get the expected output in the documentation.

This stems from the fact that we need to do two discrete things to tunnel for a container driver (since it needs to route to 127.0.0.1) and for a VM driver.

We can potentially look into fixing this so that the output for both versions are similar, but the tunnel itself is working fine.

Refer this github link for more information.

Related