Commit 94f6c5bf authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren deploy/yelb-istio-config.yaml

parent d0dc1d7a
......@@ -12,41 +12,20 @@ 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 }}
- yelb-ui
gateways:
- yelp-gateway
http:
- name: "default"
route:
- weight: 75
destination:
host: yelb-appserver
subset: v1
- weight: 25
destination:
host: yelb-appserver
subset: v2
- destination:
host: yelb-ui
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
......
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