so I just got started digging into minikube after having problems with the docker-desktop here and there. I am following https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/, but I'm running into a problem.
I did exactly what the tutorial explains:
- Enable the ingress addon in minikube (Does this work with self-deployed ingress controller installed via helm as well, by the way?)
- Deployed an application
- Created the corresponding Ingress configuration
I verified all is available, and end up with the following output of kubectl get ingress
:
NAME CLASS HOSTS ADDRESS PORTS AGE
example-ingress <none> hello-world.info 192.168.49.2 80 87m
However, when trying to access hello-world.info (either that, setup in my hosts file, or 192.168.49.2 directly, just for connectivity testing), I'm getting absolutely nothing besides request timeouts. The logs of my ingress-controller also don't mention any failed connection attempts.
The connection works just fine when manually starting a tunnel via minikube service ingress-nginx-controller-admission --namespace=kube-system
.
Here's the output of minikube profile list
:
|----------|-----------|---------|--------------|------|---------|---------|-------|
| Profile | VM Driver | Runtime | IP | Port | Version | Status | Nodes |
|----------|-----------|---------|--------------|------|---------|---------|-------|
| minikube | docker | docker | 192.168.49.2 | 8443 | v1.20.2 | Running | 1 |
|----------|-----------|---------|--------------|------|---------|---------|-------|
I'm running this example on a Windows machine via the docker-desktop runtime.
Where am I going wrong? My ultimate goal is to enable a docker-desktop like experience via my ingress. I don't want to have to manually enable / disable tunnels to access my cluster.