apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: httpbin namespace: istio-demo spec: gateways: - httpbin-gateway hosts: - httpbin.example.com http: - match: - uri: prefix: /status - uri: prefix: /delay route: - destination: host: httpbin port: number: 80