diff --git a/manifests/hub.yaml b/manifests/hub.yaml index 99c35698..856b78a4 100644 --- a/manifests/hub.yaml +++ b/manifests/hub.yaml @@ -249,6 +249,18 @@ spec: - name: agent-poke mountPath: /etc/hub-secrets/agent-poke readOnly: true + # R-1326 (2026-10-27): the hub took 31–36 s to start („starting" → „Listening on :8080", 0.174.0 and 0.174.1), + # and the liveness probe alone killed it after ~65 s — a growing database would have turned a deploy into a + # restart loop. The startup probe allows up to 180 s (36 × 5 s, 5× the measured start) and holds the liveness + # probe off until its first success; after a normal start the liveness probe watches as before. A longer + # initialDelaySeconds would leave the hub unwatched for that long on EVERY start instead. + startupProbe: + httpGet: + path: /healthz + port: 8080 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 36 livenessProbe: httpGet: path: /healthz