From 62d426e4d05e18227bbe8376030733e7bac8edf2 Mon Sep 17 00:00:00 2001 From: Finn Behrens <me@kloenk.dev> Date: Thu, 30 Dec 2021 12:08:46 +0100 Subject: [PATCH] Set maxsurge to 10 for prod --- kustomize/bases/exneuland/deployment.yaml | 2 +- kustomize/overlays/prod/exneuland/deployment.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kustomize/bases/exneuland/deployment.yaml b/kustomize/bases/exneuland/deployment.yaml index d257b1d..ae11228 100644 --- a/kustomize/bases/exneuland/deployment.yaml +++ b/kustomize/bases/exneuland/deployment.yaml @@ -12,7 +12,7 @@ spec: strategy: type: RollingUpdate rollingUpdate: - maxSurge: 33% + maxSurge: 3 minReadySeconds: 30 template: metadata: diff --git a/kustomize/overlays/prod/exneuland/deployment.yaml b/kustomize/overlays/prod/exneuland/deployment.yaml index d855dfa..b7f4318 100644 --- a/kustomize/overlays/prod/exneuland/deployment.yaml +++ b/kustomize/overlays/prod/exneuland/deployment.yaml @@ -4,6 +4,8 @@ metadata: name: exneuland spec: replicas: 50 + strategy: + maxSurge: 10 template: spec: containers: -- GitLab