Add canary test workloads

This commit is contained in:
Stefan Prodan
2018-09-21 19:24:35 +03:00
parent 4384ae869f
commit 19e7ae2fef
6 changed files with 215 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
annotations:
apps.weave.works/canary-revision: ""
apps.weave.works/canary-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