Istio - using same hosts has no effect

This commit is contained in:
Stefan Prodan
2018-04-17 11:47:44 +03:00
parent b1871f827b
commit 94441ef933
2 changed files with 3 additions and 0 deletions
@@ -14,6 +14,7 @@ spec:
protocol: HTTP
hosts:
- podinfo.co.uk
- podinfo.default.svc.cluster.local
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
@@ -22,6 +23,7 @@ metadata:
namespace: default
spec:
hosts:
- podinfo.co.uk
- podinfo.default.svc.cluster.local
gateways:
- podinfo-gateway
+1
View File
@@ -29,3 +29,4 @@ spec:
route:
- labels:
release: ga
weight: 100