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: ...@@ -12,41 +12,20 @@ spec:
labels: labels:
version: v2 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 apiVersion: networking.istio.io/v1beta1
kind: VirtualService kind: VirtualService
metadata: metadata:
name: yelb-ui-vsvc name: yelb-ui-vsvc
spec: spec:
hosts: hosts:
- {{ VHOST }} - yelb-ui
gateways: gateways:
- yelp-gateway - yelp-gateway
http: http:
- name: "default" - name: "default"
route: route:
- weight: 75 - destination:
destination: host: yelb-ui
host: yelb-appserver
subset: v1
- weight: 25
destination:
host: yelb-appserver
subset: v2
--- ---
apiVersion: networking.istio.io/v1beta1 apiVersion: networking.istio.io/v1beta1
kind: VirtualService kind: VirtualService
......
Supports Markdown
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