How to host multiple applications in one Istio service mesh? How to host multiple applications in one Istio service mesh? kubernetes kubernetes

How to host multiple applications in one Istio service mesh?


On what path your Hasura's GraphQL endpoint is configured?

The way your VirtualService is configured, a request to your gateway will behave like this:

my.host.com/hasura1 --> hasura-1/hasura1
my.host.com/hasura1/anotherpath --> hasura-1/hasura1/anotherpath
my.host.com/hasura2 --> hasura-2/hasura2

Maybe you are missing a rewrite.uri rule to strip the path from the request.

e.g.: With this rule:

http:- match:  - uri:      prefix: /hasura1  rewrite:    uri: /  route:  - destination:      host: hasura-1      port:        number: 80

your Hasura container should receive the requests on the root path:

my.host.com/hasura1 --> hasura-1/
my.host.com/hasura1/anotherpath --> hasura-1/anotherpath