Add 80 gw 35/4035/1
authorXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:21:18 +0000 (11:21 -0800)
committerXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:21:18 +0000 (11:21 -0800)
Signed-off-by: xinhui li <xinhui.li@salesforce.com>
Change-Id: I864bc18127b1dbec8c0d3c0990964f277157242d

mash/eks/80gw.yaml [new file with mode: 0644]

diff --git a/mash/eks/80gw.yaml b/mash/eks/80gw.yaml
new file mode 100644 (file)
index 0000000..73acaf3
--- /dev/null
@@ -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
+