I have several gateways for different domain/Hosts and virtual service for each gateway for particular host.
Here is gateway config:
Name: gateway
Namespace: testAAAAA
API Version: networking.istio.io/v1beta1
Kind: Gateway
Metadata:
Spec:
Selector:
Istio: ingressgateway
Servers:
Hosts:
xxxx.com
Port:
Name: http
Number: 80
Protocol: HTTP
Tls:
Https Redirect: true
Hosts:
xxxx.com
Port:
Name: https
Number: 443
Protocol: HTTPS
Tls:
Cipher Suites:
ECDHE-RSA-CHACHA20-POLY1305
ECDHE-RSA-AES128-GCM-SHA256
ECDHE-RSA-AES256-GCM-SHA384
Credential Name: xxxx.com
Min Protocol Version: TLSV1_2
Mode: SIMPLE
Events: <none>
here is virtual service config
Name: acme
Namespace: istio-system
API Version: networking.istio.io/v1beta1
Kind: VirtualService
Metadata:
Spec:
Gateways:
testAAAAA/gateway
Hosts:
xxxx.com
Http:
Match:
Uri:
Exact: /test
Route:
Destination:
Host: my-nginx
Port:
Number: 80
Events: <none>
But this virtual service route me to another service, not my-nginx. When I remove acme virtualservice I get 404.
How can I identify the rule or configuration that makes this routing ?