microservices-demo/istio-manifests/frontend-gateway.yaml
Ahmet Alp Balkan 420a074091 add initial istio-manifests
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2018-07-03 13:41:56 -07:00

30 lines
527 B
YAML

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: frontend-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: frontend-ingress
spec:
hosts:
- "*"
gateways:
- frontend-gateway
http:
- route:
- destination:
host: frontend
port:
number: 80