Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-23 Thread
can you try to repro with a manual LB and /* - that should match all sub-paths. On Wed, May 23, 2018 at 1:11 PM Jonathan Mejias wrote: > Ahmet i did all that you mention it. > > /angular, /angular/, /angular/* and if a get the healtcheck to " / " i > will get the response of a default backend (

Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-23 Thread Jonathan Mejias
Ahmet i did all that you mention it. /angular, /angular/, /angular/* and if a get the healtcheck to " / " i will get the response of a default backend (404). Insted my app have an "healthCheck" path response (resolve an HTTP 200). My path didn`t work. All the problems get solution when you chang

Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-21 Thread
+1 to Tim. Your "rewrite-target" annotation won't work on GKE (it's only for nginx-ingress). Also note that "Services exposed through an Ingress must serve a response with HTTP 200 status to the GET requests on "/". This is used for health checking. If your application does not serve HTTP 200 on "

Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-21 Thread
Did you try /* ? https://cloud.google.com/compute/docs/load-balancing/http/url-map On Mon, May 21, 2018 at 10:44 AM Jonathan Mejias wrote: > The only way that i resolve the problem was changing to an nginx > controller, instead a gke. Installing nginx-controller with kubernetes helm > and using

Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-21 Thread Jonathan Mejias
The only way that i resolve the problem was changing to an nginx controller, instead a gke. Installing nginx-controller with kubernetes helm and using rewrite option. Gke is limited in configuration option i do not recommend. PD: Nginx-controller uses network load balancer (TCP) not HTTP. On Mo

[kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-21 Thread davidshakespeare
I have same problem. Did you mane to resolve? -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.co

[kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-13 Thread Jonathan Mejías
Hello.. I got an angular deployment in a kubernetes cluster, and i want to define the app access with ingress paths. By example path: *foo.bar.com/appi1* >* goes to my angular app* if i goes to *foo.bar.com/app1/login*, this response with the default backend. Giving me an 404 error. *(fo