I have a situation where multiple Kubernetes namespaces have been configured to use one ingress host. And the requests to K8s ingress controller will come from a load balancer F5.
If a user sends a request to example.com/api/service1, that request will land on the F5 and the F5 will route it to worker nodes without changing the URLs. The K8s ingress needs to route the requests to different namespaces but as I mentioned all namespaces are using the same ingress (example.com).
My concern is how the K8s ingress will forward the requests to the appropriate namespace? Any thought? Thanks in advance.