From 9f4735fa73c52c7e1b7d9ebcf9c5e66e0679cb48 Mon Sep 17 00:00:00 2001 From: SeongChan Lee Date: Tue, 23 Jul 2024 12:04:56 +0900 Subject: [PATCH] Set minUnavailable to 0 to minimize downtime --- charts/pod-graceful-drain/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/pod-graceful-drain/templates/deployment.yaml b/charts/pod-graceful-drain/templates/deployment.yaml index 1594ee7..ae3f36c 100644 --- a/charts/pod-graceful-drain/templates/deployment.yaml +++ b/charts/pod-graceful-drain/templates/deployment.yaml @@ -6,6 +6,9 @@ metadata: {{- include "pod-graceful-drain.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + strategy: + rollingUpdate: + maxUnavailable: 0 selector: matchLabels: {{- include "pod-graceful-drain.selectorLabels" . | nindent 6 }}