mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 09:44:42 +02:00
fix(authentik): startupProbe — les migrations du 1er boot dépassent la liveness (#77)
Le premier démarrage exécute les migrations de schéma (plusieurs minutes) ; la livenessProbe (60 s) tuait le pod en boucle avant qu'il ne soit prêt. La startupProbe accorde jusqu'à 10 min avant d'armer liveness/readiness. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
87b786eb57
commit
5ecaadd100
1 changed files with 8 additions and 2 deletions
|
|
@ -57,17 +57,23 @@ spec:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 1536Mi
|
memory: 1536Mi
|
||||||
|
# Premier boot : les migrations de base prennent plusieurs minutes —
|
||||||
|
# la startupProbe laisse jusqu'à 10 min avant que la liveness ne s'active
|
||||||
|
startupProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /-/health/live/
|
||||||
|
port: 9000
|
||||||
|
failureThreshold: 60
|
||||||
|
periodSeconds: 10
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /-/health/ready/
|
path: /-/health/ready/
|
||||||
port: 9000
|
port: 9000
|
||||||
initialDelaySeconds: 30
|
|
||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /-/health/live/
|
path: /-/health/live/
|
||||||
port: 9000
|
port: 9000
|
||||||
initialDelaySeconds: 60
|
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
- name: media
|
- name: media
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue