Browse Source

inline analysis

pull/82/head
brandon 4 years ago
parent
commit
d46bb5307d
  1. 19
      helm-guestbook/templates/rollout.yaml

19
helm-guestbook/templates/rollout.yaml

@ -54,14 +54,6 @@ spec:
minReadySeconds: 30
strategy:
canary: #Indicates that the rollout should use the Canary strategy
analysis:
templates:
- templateName: success-rate
clusterScope: true
startingStep: 2 # delay starting analysis run until setWeight: 40%
args:
- name: service-name
value: {{ template "helm-guestbook.fullname" . }}
maxSurge: "25%"
maxUnavailable: 0
canaryService: guestbook-canary-service
@ -75,4 +67,13 @@ spec:
additionalIngressAnnotations: # optional
canary-by-header: tenantID
canary-by-header-value: 10|11|12|13 # tenantID values
canary-weight: '50'
steps:
- setCanaryScale:
weight: 50
- analysis:
templates:
- templateName: success-rate
clusterScope: true
args:
- name: service-name
value: {{ template "helm-guestbook.fullname" . }}

Loading…
Cancel
Save