istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/httpbin/httpbin-gateway.yaml (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 name: httpbin-gateway 5 spec: 6 selector: 7 istio: ingressgateway 8 servers: 9 - port: 10 number: 80 11 name: http 12 protocol: HTTP 13 hosts: 14 - "*" 15 --- 16 apiVersion: networking.istio.io/v1alpha3 17 kind: VirtualService 18 metadata: 19 name: httpbin 20 spec: 21 hosts: 22 - "*" 23 gateways: 24 - httpbin-gateway 25 http: 26 - route: 27 - destination: 28 host: httpbin 29 port: 30 number: 8000