New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minikube Can't Curl IP v0.33.1 / MacOS with Traefik #3677
Comments
What was supposed to listen on port 80 ? The kubernetes master is now using HTTPS (8443) Normally you don't |
So I am trying to use traefik (see here: https://docs.traefik.io/user-guide/kubernetes/). Basically when I get to the point where I want to curl ${minikube ip} the examples die (most likely as you have said because minikube is now targetting :8443). I've gone ahead and confirmed:
However, going through and changing the ports in the example files from 80 to 8443 doesn't allow them to work. I'm going to file a bug report over there if this is now how minikube is supposed to work. |
OK...I have to admit that at this point I'm lost. I want to create an Ingress controller and there are no examples that I can find that don't use port 80. Here is another one: https://github.com/nginxinc/kubernetes-ingress/blob/master/docs/installation.md. If I change the file https://github.com/nginxinc/kubernetes-ingress/blob/master/deployments/deployment/nginx-ingress.yaml from having the lines:
to having the lines
Then I get crashes and loopback errors. As I haven't configured an ingress controller before, and all examples that use port 80 appear to be broken and I can't seem to fix them using the new https port 8443, I'm stuck. This change in minikube seems to have caused a breaking change to everything that used to use it. Is there an example of an Ingress controller that works using only port 8443? |
Well, if you deploy a DaemonSet that listens on port 80 that is different... Most likely this is the same bug as #3416, where we default to wrong IP. |
Anyway, the example shown on their page works fine on a regular Linux deployment...
You forgot to fill in the template which minikube version and drivers that you are using. |
Ah, I am so sorry. The issue was in fact my fault - I was improperly configuring traefik (it turns out that using the daemonset was the preferred way) - and I was getting frustrated. Thanks for the help! |
Update: I was running minikube with Initial: Using daemonset does not work. Basically deploying Traefik using both Deployment and DaemonSet does not work at all. I have checked with https://docs.traefik.io/user-guide/kubernetes/
|
This is a bug.
I've attempted to start up minikube and curl the IP that is outputted and get a connection refused:
The text was updated successfully, but these errors were encountered: