From 57bae84df10581129fd4cfaa91e7fa45785fd6c6 Mon Sep 17 00:00:00 2001 From: "Junv (via Hermes)" Date: Tue, 28 Jul 2026 18:25:51 +1000 Subject: [PATCH] fix: add startup/readiness/liveness probe delays to pocket-id --- manifests/passkey-auth.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/manifests/passkey-auth.yaml b/manifests/passkey-auth.yaml index f3f7b61..b26884f 100644 --- a/manifests/passkey-auth.yaml +++ b/manifests/passkey-auth.yaml @@ -20,6 +20,34 @@ spec: provider: sqlite connectionString: "file:data/pocket-id.db?_pragma=journal_mode(WAL)&_pragma=busy_timeout(2500)&_txlock=immediate" + # Probes with generous delays to prevent 503 on restart + startupProbe: + httpGet: + path: /healthz + port: http + initialDelaySeconds: 5 + periodSeconds: 10 + timeoutSeconds: 3 + failureThreshold: 30 + + readinessProbe: + httpGet: + path: /healthz + port: http + initialDelaySeconds: 5 + periodSeconds: 5 + timeoutSeconds: 3 + failureThreshold: 2 + + livenessProbe: + httpGet: + path: /healthz + port: http + initialDelaySeconds: 60 + periodSeconds: 30 + timeoutSeconds: 5 + failureThreshold: 3 + pocketID: resources: limits: