Commit d0dc1d7a authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren deploy/yelb-istio-config.yaml

parent 858f1899
......@@ -12,6 +12,42 @@ spec:
labels:
version: v2
---
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: yelp-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- {{ VHOST }}
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: yelb-ui-vsvc
spec:
hosts:
- {{ VHOST }}
gateways:
- yelp-gateway
http:
- name: "default"
route:
- weight: 75
destination:
host: yelb-appserver
subset: v1
- weight: 25
destination:
host: yelb-appserver
subset: v2
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment