Traffic Route

    1. apiVersion: kuma.io/v1alpha1
    2. kind: TrafficRoute
    3. mesh: default
    4. metadata:
    5. name: route-1
    6. sources:
    7. - match:
    8. service: backend
    9. destinations:
    10. - match:
    11. service: redis
    12. - weight: 90
    13. destination:
    14. service: redis
    15. version: '1.0'
    16. - weight: 10
    17. destination:
    18. version: '2.0'