From d552762ee3ca7173e71932d91cad61afe2bdf80a Mon Sep 17 00:00:00 2001 From: Rui Vieira Date: Mon, 5 Aug 2024 13:37:38 +0100 Subject: [PATCH] fix: Correct maxSurge and maxUnavailable (#275) --- controllers/templates/service/deployment.tmpl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/templates/service/deployment.tmpl.yaml b/controllers/templates/service/deployment.tmpl.yaml index fa8a9c7..da69b24 100644 --- a/controllers/templates/service/deployment.tmpl.yaml +++ b/controllers/templates/service/deployment.tmpl.yaml @@ -15,8 +15,8 @@ spec: strategy: type: RollingUpdate rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 + maxUnavailable: 1 + maxSurge: 0 replicas: 1 selector: matchLabels: