VirtualServiceIneffectiveMatch
You will receive this message:
kind: VirtualService
metadata:
name: tls-routing
spec:
- www1.googleapis.com
- api1.facebook.com
- match:
- port: 2443
sniHosts:
- www1.googleapis.com
- destination:
host: www1.googleapis.com
- port: 2443
sniHosts:
- www1.googleapis.com
route:
host: api1.facebook.com
In this example, the virtual service specifies two different destinations for the same match. Istio will use the first match, and never send traffic to the second destination.
How to resolve
Re-order your routes so that the most specific ones are first. Place ‘catch all’ routes at the end.