...
1apiVersion: argoproj.io/v1alpha1
2kind: Rollout
3metadata:
4 name: agent-e2e-test-rollout
5 annotations:
6 getambassador.io/rolloutId: "87544c25-710e-41fa-9fa8-3e0b2c0ed927"
7spec:
8 replicas: 5
9 revisionHistoryLimit: 2
10 selector:
11 matchLabels:
12 app: echo
13 template:
14 metadata:
15 labels:
16 app: echo
17 spec:
18 containers:
19 - image: hashicorp/http-echo
20 args:
21 - "-text=VERSION 1"
22 - -listen=:8080
23 imagePullPolicy: Always
24 name: echo-v1
25 ports:
26 - containerPort: 8080
27 strategy:
28 canary:
29 stableService: echo-stable
30 canaryService: echo-canary
31 trafficRouting:
32 ambassador:
33 mappings:
34 - echo
35 steps:
36 - setWeight: 20
37 - pause: {duration: 10s}
38 - setWeight: 100
39 - pause: {duration: 10}
View as plain text