Skip to content

Commit

Permalink
fix: liveness probe (#1482)
Browse files Browse the repository at this point in the history
Co-authored-by: Billi Watio Tiayo <billi.watio.tiayo@octo.com>
  • Loading branch information
matmut7 and billiwatio-octo authored Oct 7, 2024
1 parent 9ad877b commit 277c32c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .kontinuous/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ www:
~chart: app
~needs: [build-frontend]
probesPath: /healthz
livenessProbe:
httpGet:
path: /healthz
port: http
scheme: HTTP
initialDelaySeconds: 30 # Délai avant la première vérification après le démarrage du pod
periodSeconds: 10 # Fréquence des vérifications
timeoutSeconds: 10 # Temps maximum pour que l'endpoint réponde
failureThreshold: 15 # Nombre d'échecs avant de redémarrer le conteneur
imagePackage: frontend
envFrom:
- configMapRef:
Expand Down

0 comments on commit 277c32c

Please # to comment.