From cebf6f3f69a78d577dea4e65dd7d26659573b12c Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 11 Apr 2026 12:56:25 -0500 Subject: [PATCH] Speed up rolling deploys: allow surge, reduce startup delay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - maxSurge 0→1: new pods start before old ones terminate - minReadySeconds 10→5 - startupProbe: initialDelay 10→5s, period 5→3s --- k8s/deployment.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 0a819445..0d2fc770 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -5,11 +5,11 @@ metadata: namespace: prop spec: replicas: 3 - minReadySeconds: 10 + minReadySeconds: 5 strategy: type: RollingUpdate rollingUpdate: - maxSurge: 0 + maxSurge: 1 maxUnavailable: 1 selector: matchLabels: @@ -67,9 +67,9 @@ spec: httpGet: path: /health port: 5000 - initialDelaySeconds: 10 - periodSeconds: 5 - failureThreshold: 12 + initialDelaySeconds: 5 + periodSeconds: 3 + failureThreshold: 10 timeoutSeconds: 3 readinessProbe: httpGet: