mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
Fix n8n liveness probe: chart has no startupProbe, needs a longer runway
The n8n chart (riatlas/chart__n8n) doesn't support startupProbe at all - my earlier fix set a field the chart ignores, so the liveness probe was still killing the container ~40s into startup (exitCode 143, confirmed live via repeated crashloops even after the first 'fix'). n8n takes longer than that to bind :5678 on the VPS's more modest hardware. Widened readiness/liveness directly instead: ~190s total runway before a liveness kill.
This commit is contained in:
@@ -78,36 +78,29 @@ resources:
|
|||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
|
||||||
# Chart defaults are more aggressive than n8n needs to actually finish
|
# This chart has no startupProbe support at all (confirmed against
|
||||||
# starting - without this the liveness probe kills the container before
|
# `helm show values` - only livenessProbe/readinessProbe exist), so the
|
||||||
# it ever binds :5678 (confirmed live: exitCode 143/SIGTERM, crashloop).
|
# liveness probe itself has to be generous enough to cover full startup -
|
||||||
# Matches home's apps/n8n/values.yaml timings.
|
# even home's copied startupProbe timings (60s total) weren't enough on
|
||||||
startupProbe:
|
# the VPS's more modest hardware; confirmed live it needs 100s+.
|
||||||
httpGet:
|
# initialDelaySeconds + (periodSeconds * failureThreshold) = 190s runway.
|
||||||
path: /healthz
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: 10
|
|
||||||
periodSeconds: 5
|
|
||||||
timeoutSeconds: 3
|
|
||||||
failureThreshold: 12
|
|
||||||
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
timeoutSeconds: 3
|
timeoutSeconds: 3
|
||||||
failureThreshold: 2
|
failureThreshold: 20
|
||||||
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 16
|
||||||
|
|
||||||
extraEnvSecrets:
|
extraEnvSecrets:
|
||||||
DB_POSTGRESDB_PASSWORD:
|
DB_POSTGRESDB_PASSWORD:
|
||||||
|
|||||||
Reference in New Issue
Block a user