feat(hydra): adding readiness and startup probes

This commit is contained in:
Laurent Gourvenec 2025-03-07 11:50:26 +01:00
parent 9e02d7badb
commit 19039c5e1c

View File

@ -50,6 +50,27 @@ spec:
failureThreshold: 6 failureThreshold: 6
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 10 timeoutSeconds: 10
readinessProbe:
exec:
command:
- wget
- --spider
- -q
- http://127.0.0.1:4445/health/ready
failureThreshold: 6
periodSeconds: 10
timeoutSeconds: 10
startupProbe:
exec:
command:
- wget
- --spider
- -q
- http://127.0.0.1:4445/health/ready
failureThreshold: 60
successThreshold: 1
periodSeconds: 1
timeoutSeconds: 1
ports: ports:
- containerPort: 4444 - containerPort: 4444
name: hydra-public name: hydra-public