From 1da1e0b673f60f71cf3acbb3d685ca6233c8b3e6 Mon Sep 17 00:00:00 2001 From: cahe Date: Thu, 14 Mar 2024 16:23:57 -0300 Subject: [PATCH] fix api response time --- kustomize/mycrd.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index d46fb2c..eea674f 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -30,13 +30,15 @@ kind: Rollout metadata: name: python-deployment spec: - replicas: 2 + replicas: 3 strategy: canary: + maxSurge: 1 + maxUnavailable: 0 steps: - - setWeight: 50 + - setWeight: 33 - pause: - duration: 300 + duration: 5m selector: matchLabels: app: python-deployment