fix(readiness): bump Odoo readinessProbe failureThreshold 2 -> 15

Heavy addon installs (e.g. ks_dashboard_ninja) blocked /web/login
probes for >10s, causing K8s to pull the Pod from Endpoints; Traefik
then 503d the operator addon-apply RPC. failureThreshold: 15 (~75s
of headroom) covers the install window without affecting true
pod-restart detection (initialDelay gates boot).

Chart 0.1.0 -> 0.1.1.
This commit is contained in:
OdooSky v3
2026-05-08 22:04:07 +02:00
parent 965a650b10
commit 96785158e7
2 changed files with 10 additions and 6 deletions

View File

@@ -289,10 +289,14 @@ spec:
# 16/17/18/19 — /web/health is 17+. Use login HTTP 200 as
# readiness signal.
#
# 5s period so K8s catches an Odoo restart (addon install
# via the Apps menu can trigger one) within a single probe
# cycle and pulls the Pod from Endpoints — paired with the
# Traefik retry middleware that swallows the brief gap.
# 5s period catches a true pod restart fast (initialDelay
# gates the boot path; failureThreshold only matters once
# the pod has been ready). failureThreshold: 15 (= 75s of
# consecutive probe failures) gives Odoo headroom to install
# heavy modules (e.g. ks_dashboard_ninja) without K8s pulling
# the Pod from Endpoints mid-install — which produced 503s
# at the operator surface during addon-apply. Paired with
# the Traefik retry middleware for short gaps.
readinessProbe:
httpGet:
path: /web/login
@@ -300,7 +304,7 @@ spec:
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 2
failureThreshold: 15
livenessProbe:
tcpSocket:
port: 8069