VirtualServiceIneffectiveMatch

    You will receive this message:

    1. kind: VirtualService
    2. metadata:
    3. name: tls-routing
    4. spec:
    5. - www1.googleapis.com
    6. - api1.facebook.com
    7. - match:
    8. - port: 2443
    9. sniHosts:
    10. - www1.googleapis.com
    11. - destination:
    12. host: www1.googleapis.com
    13. - port: 2443
    14. sniHosts:
    15. - www1.googleapis.com
    16. route:
    17. 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.