From 647078928c83a05af866d6563b025ee1abbbcd42 Mon Sep 17 00:00:00 2001 From: cahe Date: Thu, 14 Mar 2024 15:42:37 -0300 Subject: [PATCH] fix api response time --- kustomize/mycrd.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index bf940f1..e847f68 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -30,18 +30,12 @@ kind: Rollout metadata: name: python-deployment spec: - replicas: 5 + replicas: 2 strategy: canary: steps: - - setWeight: 20 - - pause: {} - - setWeight: 40 - - pause: {duration: 10} - - setWeight: 60 - - pause: {duration: 10} - - setWeight: 80 - - pause: {duration: 10} + - setWeight: 50 + - pause: {duration: 60} selector: matchLabels: app: python-deployment