mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
- add Prometheus observer component - halt rollover when success rate drops under the threshold - scale to zero for canary deployment after promotion has succeeded
30 lines
586 B
YAML
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
|