VirtualServiceUnreachableRule

    You will receive this message:

    1. kind: VirtualService
    2. metadata:
    3. name: sample-foo-cluster01
    4. namespace: foo
    5. hosts:
    6. - sample.foo.svc.cluster.local
    7. http:
    8. delay:
    9. fixedDelay: 5s
    10. percentage:
    11. route:
    12. - destination:
    13. host: sample.foo.svc.cluster.local
    14. - mirror:
    15. route:
    16. - destination:
    17. subset: v1

    In this example, the virtual service specifies both a fault and a mirror. Having both is allowed, but they must be in the same route entry. Here the user has used two different http route entries (one for each -), the first overrides the second.

    How to resolve

    Be careful with YAML formatting when setting up complex routing.