So the client from where you send the http request and the destination to which you send the http request are relatively easily connected, because they are on the same tcp/ip stack. On linux, the docker-network and the LoadBalancer/NodePort ipaddress end up being on the same TCP/IP stack. The "wherever" part in above sentence is not the same on Windows, Linux and Mac. The ipaddress of this service type LoadBalancer or the NodePort needs to be reachable from wherever you are sending a http request. For connecting from outside the cluster to anything inside the cluster, a service type LoadBalancer or a service type NodePort is created.
DOCKER DESKTOP INGRESS CONTROLLER CODE
The code in the ingress-nginx controller only runs some processes inside the cluster. I0923 14:00:06.020338 8 event.go:282] Event(v1.ObjectReference): type: 'Normal' reason: 'RELOAD' NGINX reload triggered due to a change in configuration I0923 14:00:05.986698 8 main.go:104] "SSL fake certificate created" file="/etc/ingress-controller/ssl/default-fake-certificate.pem" I tested it on two Windows machines, and result was the same, so it should easily be reproducible.īuild: abab0396757dcd6f72018ee66611db18df838b17
![docker desktop ingress controller docker desktop ingress controller](https://www.cloudops.com/images/blog/post/unnamed-1.jpg)
Next attempts to reset cluster doesn't help, the only way to fix issue is reinstall entire docker in system. Acessing 127.0.0.1 results ERR_EMPTY_RESPONSE error.
![docker desktop ingress controller docker desktop ingress controller](https://www.level-up.one/wp-content/uploads/2018/08/4-2.png)
![docker desktop ingress controller docker desktop ingress controller](https://cdn.zsite.com/data/upload/d/docker/201711/f_858d65dd4ebfa4211671c05b81001e36.jpg)
DOCKER DESKTOP INGRESS CONTROLLER INSTALL
as everything has been wiped, install again ingress same as before.Īnd now there is a problem, ingress doesn't work anymore.in Docker Dektop settings there is option 'Reset Kubernetes Cluster' which wipes all k8s resources and mounts cluster from scratch.I found interesting issue, but I'm not sure if it's ingress or docker desktop problem, anyway I want to share it here.Īt this point everything works fine, accessing 127.0.0.1 throws 404 not found nginx page, which is fine, because there is no services or event ingress config yet. I'm using Docker Desktop kubernetes cluster for local development on Windows with WSL 2.