Skip to content

Commit 8e51eea

Browse files
use liveness and readiness probes
1 parent 2992a1b commit 8e51eea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

apps/hermes/deployment.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ spec:
6666
envFrom:
6767
- configMapRef:
6868
name: "hermes-config"
69+
livenessProbe:
70+
httpGet:
71+
path: "/health"
72+
port: "hermes"
73+
initialDelaySeconds: 5
74+
failureThreshold: 5
75+
readinessProbe:
76+
httpGet:
77+
path: "/health"
78+
port: "hermes"
6979
volumeMounts:
7080
- name: "storage"
7181
mountPath: "/data"

0 commit comments

Comments
 (0)