demo update
This commit is contained in:
28
base/virtualService.yaml
Normal file
28
base/virtualService.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: networking.istio.io/v1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: voyger-assign
|
||||
namespace: voyger-assign
|
||||
spec:
|
||||
gateways:
|
||||
- istio-system/shared-gateway
|
||||
- mesh
|
||||
hosts:
|
||||
- voyger-assign.sample.test
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /signup
|
||||
route:
|
||||
- destination:
|
||||
host: signup.voyger-assign.svc.cluster.local
|
||||
port:
|
||||
number: 80
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /users
|
||||
route:
|
||||
- destination:
|
||||
host: getusers.voyger-assign.svc.cluster.local
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user