blob: 7b2c823e07a0b1fcfb5d3cbbf13a6327d3a6054b [file] [log] [blame]
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: direct-bing-through-egress-gateway
spec:
hosts:
- bing.com
gateways:
- istio-egressgateway
- mesh
http:
- match:
- gateways:
- mesh
port: 80
route:
- destination:
host: istio-egressgateway.dubbo-system.svc.cluster.local
subset: bing
port:
number: 80
weight: 100
- match:
- gateways:
- istio-egressgateway
port: 80
route:
- destination:
host: bing.com
port:
number: 80
weight: 100