From 8682a42f35517bfb3e8af0f472b066677039fff4 Mon Sep 17 00:00:00 2001 From: Xinhui Li Date: Tue, 5 Jan 2021 11:21:18 -0800 Subject: [PATCH] Add 80 gw Signed-off-by: xinhui li Change-Id: I864bc18127b1dbec8c0d3c0990964f277157242d --- mash/eks/80gw.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 mash/eks/80gw.yaml 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 + -- 2.16.6