Istio broken

This commit is contained in:
Stefan Prodan
2018-04-12 11:37:15 +01:00
parent 753799812a
commit b1871f827b
3 changed files with 16 additions and 5 deletions
+1 -2
View File
@@ -13,13 +13,12 @@ spec:
name: http
protocol: HTTP
hosts:
- podinfo.default.svc.cluster.local
- podinfo.co.uk
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: podinfo-vs
name: podinfo
namespace: default
spec:
hosts:
+1 -2
View File
@@ -9,8 +9,7 @@ spec:
request:
headers:
x-user:
regex: .*insider.*
# exact: insider
exact: insider
destination:
name: podinfo
route:
+14 -1
View File
@@ -5,6 +5,7 @@ metadata:
name: podinfo-ga
namespace: default
spec:
precedence: 1
match:
request:
headers:
@@ -15,4 +16,16 @@ spec:
route:
- labels:
release: ga
weight: 100
---
apiVersion: config.istio.io/v1alpha2
kind: RouteRule
metadata:
name: podinfo-default
namespace: default
spec:
precedence: 0
destination:
name: podinfo
route:
- labels:
release: ga