Access different react paths with root in ingress
In your admin service please make sure that you are serving from the relative path (here /admin).
In CRA you can do it by configuring the homepage in package.json
"homepage": "http://example.com/admin",
Refer: https://create-react-app.dev/docs/deployment/#building-for-relative-paths
This this maybe you want - Nginx rewrite
nginx.ingress.kubernetes.io/rewrite-target
This is the full doc.rewrite