From: Xinhui Li Date: Tue, 5 Jan 2021 19:21:18 +0000 (-0800) Subject: Add 80 gw X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=8682a42f35517bfb3e8af0f472b066677039fff4;p=iec%2Fxconnect.git Add 80 gw Signed-off-by: xinhui li Change-Id: I864bc18127b1dbec8c0d3c0990964f277157242d --- diff --git a/mash/eks/80gw.yaml b/mash/eks/80gw.yaml new file mode 100644 index 0000000..73acaf3 --- /dev/null +++ b/mash/eks/80gw.yaml @@ -0,0 +1,38 @@ +apiVersion: networking.istio.io/v1alpha3 +kind: Gateway +metadata: + name: httpbin-gateway +spec: + selector: + istio: ingressgateway # use Istio default gateway implementation + servers: + - port: + number: 80 + name: http + protocol: HTTP + hosts: + - "a25fa0b4835bf460588ee5002b857c36-1ccd5b150ee87ab2.elb.us-west-2.amazonaws.com" +--- +apiVersion: networking.istio.io/v1alpha3 +kind: VirtualService +metadata: + name: httpbin +spec: + hosts: + - "a25fa0b4835bf460588ee5002b857c36-1ccd5b150ee87ab2.elb.us-west-2.amazonaws.com" + gateways: + - httpbin-gateway + http: + - match: + - uri: + prefix: /status + - uri: + prefix: /delay + - uri: + prefix: /headers + route: + - destination: + port: + number: 8000 + host: httpbin +