..
This commit is contained in:
22
base/virtualService.yaml
Normal file
22
base/virtualService.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: rollouts-demo-vsvc1
|
||||
spec:
|
||||
gateways:
|
||||
- rollouts-demo-gateway
|
||||
hosts:
|
||||
- a.itstant.com
|
||||
http:
|
||||
- name: primary
|
||||
route:
|
||||
- destination:
|
||||
host: rollouts-demo-stable
|
||||
port:
|
||||
number: 80
|
||||
weight: 100
|
||||
- destination:
|
||||
host: rollouts-demo-canary
|
||||
port:
|
||||
number: 80
|
||||
weight: 0
|
Reference in New Issue
Block a user