From b502a39a0247bfebb8b3bbb3fac1403ae4788ff8 Mon Sep 17 00:00:00 2001 From: brandon Date: Fri, 2 Apr 2021 00:36:25 -0400 Subject: [PATCH] enable analysis --- helm-guestbook/templates/rollout.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/helm-guestbook/templates/rollout.yaml b/helm-guestbook/templates/rollout.yaml index 93f185d..3c0c6d0 100644 --- a/helm-guestbook/templates/rollout.yaml +++ b/helm-guestbook/templates/rollout.yaml @@ -54,14 +54,14 @@ 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" . }}.default.svc.cluster.local + 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" . }}.default.svc.cluster.local maxSurge: "25%" maxUnavailable: 0 canaryService: guestbook-canary-service