apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: nginx-vs spec: gateways: - nginx-gateway hosts: - "*" http: - match: - uri: exact: / route: - destination: host: nginx-v1 subset: v1 port: number: 80 weight: 0 - destination: host: nginx-v2 subset: v2 port: number: 80 weight: 100