Since 3 days, I have a problem with a deployment in kubernetes. I would like to deploy two react-js application : the first in http://app.my-domain.com and the other in http://app.my-domain.com/shop
NB: the two url is fake, it's just for example.
The first react application was very well deployed in http://app.my-domain.com . Now when i want to put the second react application in http://app.my-domain.com/shop, it's not working.
NB: The two react applications are in different namespaces and exposed with two ingress configurations.
Here are my two ingress configuration which expose my clusterIP services relative to the two react-js applications :
spec:
rules:
- host: app.my-domain.com
http:
paths:
- path: /
backend:
serviceName: first-service
servicePort: 80
spec:
rules:
- host: app.my-domain.com
http:
paths:
- path: /shop
backend:
serviceName: second-service
servicePort: 80
So I have a blank page with the second application.
Please I would like your help for deploying this two react-js applications in this same domain.