hub manifest (R-1326): a startupProbe gives the hub up to 180 s to start (measured 31–36 s); liveness unchanged after start
gates / gates (push) Successful in 1m57s
gates / gates (push) Successful in 1m57s
This commit is contained in:
1 parent
f633d48bab
commit
a69ddbde56
1 file changed
+12
@@ -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
|
||||
|
||||
Reference in new issue
Block a user