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