diff --git a/grafana/values.yaml b/grafana/values.yaml index 854b088..1c419ba 100644 --- a/grafana/values.yaml +++ b/grafana/values.yaml @@ -69,13 +69,26 @@ grafana: &grafana_config path: /api/health port: 3000 + # Base Grafana en SQLite sur emptyDir → migration complète du schéma à CHAQUE démarrage du + # pod, lente sur Raspberry Pi (> 160 s). Sans garde suffisante, la liveness tuait Grafana en + # pleine migration → CrashLoop au moindre rollout. startupProbe : ~10 min avant d'armer la + # liveness. failureThreshold de liveness relevé aussi (filet de sécurité si le chart n'expose + # pas startupProbe). Fix pérenne : DB persistante (PVC) ou externe (postgres) — hors scope ici. + startupProbe: + httpGet: + path: /api/health + port: 3000 + initialDelaySeconds: 30 + periodSeconds: 10 + failureThreshold: 60 + livenessProbe: httpGet: path: /api/health port: 3000 initialDelaySeconds: 60 timeoutSeconds: 30 - failureThreshold: 10 + failureThreshold: 60 ## Use an alternate scheduler, e.g. "stork". ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/