Skip to content

Commit 7ff63e5

Browse files
committed
[IMP] Add liveness and readiness probes to iris_app deployment
Improves service health monitoring and startup behavior by adding HTTP liveness and readiness probes on port 8000.
1 parent 2973772 commit 7ff63e5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

deploy/kubernetes/charts/templates/iris_app.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,19 @@ spec:
108108
ports:
109109
- containerPort: 8000
110110

111+
livenessProbe:
112+
httpGet:
113+
path: /
114+
port: 8000
115+
initialDelaySeconds: 30
116+
periodSeconds: 5
117+
readinessProbe:
118+
httpGet:
119+
path: /
120+
port: 8000
121+
initialDelaySeconds: 10
122+
periodSeconds: 5
123+
111124
volumeMounts:
112125
- mountPath: /home/iris/downloads
113126
name: iris-downloads

0 commit comments

Comments
 (0)