diff --git a/k8s/apps/authentik/deployment.yaml b/k8s/apps/authentik/deployment.yaml index 5be98e7..78feee3 100644 --- a/k8s/apps/authentik/deployment.yaml +++ b/k8s/apps/authentik/deployment.yaml @@ -57,17 +57,23 @@ spec: limits: cpu: 1000m 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: httpGet: path: /-/health/ready/ port: 9000 - initialDelaySeconds: 30 periodSeconds: 15 livenessProbe: httpGet: path: /-/health/live/ port: 9000 - initialDelaySeconds: 60 periodSeconds: 30 volumes: - name: media