Unable to connect to minikube ingress via minikube ip
Solution 1:
(Does this work with self-deployed ingress controller installed via helm as well, by the way?)
-
minikube addons enable ingress
enables the minikube implementation of the Nginx Ingress
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.
- Unfortunately, it is working as expected. After enabling ingress addon it is specifically stated that:
After the addon is enabled, please run "minikube tunnel" and your ingress resources would be available at "127.0.0.1"
. So in this scenario when using Minikube on Windows you are actually supposed to use minikube tunnel. Bear in mind that Minikube is mainly used for testing and learning purposes so some of it's features might not be ideal.
Solution 2:
I couldn't get Ingress working on minikube (Windows 10, Docker Desktop) after two weeks of trying. minikube tunnel
gives me access to 127.0.0.1/80
but I could never reach out to the ingress routes. Have you tried kind? Even though setting up Ingress is quite involved in kind
but it works. I have written an article Getting started with Kind.