fix(authentik): increase startup probe timeout for migrations
Fresh authentik deployment runs ~100 database migrations which takes 15-20 minutes. Previous startup probe failureThreshold of 60 (10 minutes) killed the pod before migrations could complete, causing infinite restart loop. Increased to 120 failures (20 minutes) to allow migrations to finish. Fixes: nginx 503 due to pod never becoming Ready.
This commit is contained in:
@@ -143,6 +143,7 @@ server:
|
|||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
startupProbe:
|
startupProbe:
|
||||||
timeoutSeconds: 15
|
timeoutSeconds: 15
|
||||||
|
failureThreshold: 120 # 120 × 10s = 20min for fresh DB migrations
|
||||||
# Every OIDC login (Grafana, Argo CD, MinIO, Forgejo) depends on this server —
|
# Every OIDC login (Grafana, Argo CD, MinIO, Forgejo) depends on this server —
|
||||||
# its request latency/error rate explains SSO-driven slowness on those services.
|
# its request latency/error rate explains SSO-driven slowness on those services.
|
||||||
metrics:
|
metrics:
|
||||||
|
|||||||
Reference in New Issue
Block a user