Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on your ask, if you have 3 deployments in 3 different namespaces, then you just need to create 3 different ingresses. 1 ingress per namespace, using a specific path, and pointing to the service/deployment in that namespace.
Basically each namespace should have 1 deployment + 1 service + 1 ingress, that will guarantee that traffic gets directed to the correct deployment.
Hope this helps.
If you need further help on this, tag me in a comment.
If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.