Skip to content

Commit 5a5c8b9

Browse files
committed
feat: readiness probe on the deployment
Signed-off-by: Francesco Canovai <[email protected]>
1 parent 7f23177 commit 5a5c8b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

kubernetes/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ spec:
3737
- --server-address=:9090
3838
- --leader-elect
3939
- --log-level=debug
40+
readinessProbe:
41+
tcpSocket:
42+
port: 9090
43+
initialDelaySeconds: 10
44+
periodSeconds: 10
4045
volumeMounts:
4146
- mountPath: /server
4247
name: server

0 commit comments

Comments
 (0)