mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-23 22:26:29 +00:00
Istio - using same hosts has no effect
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -29,3 +29,4 @@ spec:
|
||||
route:
|
||||
- labels:
|
||||
release: ga
|
||||
weight: 100
|
||||
|
||||
Reference in New Issue
Block a user