Skip to content

Commit 5ff0a29

Browse files
committed
add liveness and readiness probe health
1 parent 7b10b0a commit 5ff0a29

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

k8s/values.prod.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ cronjob:
3333
schedule: "0 */5 * * *"
3434
restartPolicy: OnFailure
3535

36+
probes:
37+
healthEndpoint: /api/health
38+
liveness:
39+
initialDelaySeconds: 30
40+
periodSeconds: 10
41+
timeoutSeconds: 5
42+
successThreshold: 1
43+
failureThreshold: 3
44+
readiness:
45+
initialDelaySeconds: 30
46+
periodSeconds: 10
47+
timeoutSeconds: 5
48+
successThreshold: 1
49+
failureThreshold: 3
50+
3651
datadog:
3752
enable: true
3853
env: "production"

0 commit comments

Comments
 (0)