Files
flagger/artifacts/workloads/virtual-service.yaml
T
Stefan Prodan c9ba2f6cb3 Add gated roll out based on Istio HTTP success rate metric
- add Prometheus observer component
- halt rollover when success rate drops under the threshold
- scale to zero for canary deployment after promotion has succeeded
2018-09-22 15:37:30 +03:00

30 lines
586 B
YAML

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
apps.weave.works/progressive-revision: ""
apps.weave.works/progressive-status: ""
labels:
app: podinfo
name: podinfo
namespace: test
spec:
gateways:
- public-gateway.istio-system.svc.cluster.local
hosts:
- app.istio.weavedx.com
- podinfo
http:
- route:
- destination:
host: podinfo
port:
number: 9898
weight: 100
- destination:
host: podinfo-canary
port:
number: 9898
weight: 0
timeout: 30s