diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 48c0cdc4..1c7f6bbd 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -9,9 +9,9 @@ spec: strategy: type: RollingUpdate rollingUpdate: - maxSurge: 1 # Allow 1 extra pod during rollout + maxSurge: 100% # Start all new pods at once for fast rollouts maxUnavailable: 0 # Keep all pods running during rollout - minReadySeconds: 30 # Wait 30s after pod is ready before considering it available + minReadySeconds: 10 # Wait 10s after pod is ready before considering it available selector: matchLabels: app: towerops @@ -145,5 +145,5 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 2 - successThreshold: 2 # Require 2 consecutive successes before marking ready + successThreshold: 1 # Mark ready after first successful check failureThreshold: 2 # Allow 1 failure before marking not ready