Skip to content

Commit 9b20fbc

Browse files
committed
feat: add liveness and readiness probes to deployment configuration
1 parent 61b4159 commit 9b20fbc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

charts/templates/deployment.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,22 @@ spec:
4747
memory: 32Mi
4848
limits:
4949
memory: 512Mi
50+
livenessProbe:
51+
httpGet:
52+
path: /isAlive
53+
port: http
54+
initialDelaySeconds: 5
55+
periodSeconds: 10
56+
failureThreshold: 3
57+
readinessProbe:
58+
httpGet:
59+
path: /isReady
60+
port: http
61+
initialDelaySeconds: 5
62+
periodSeconds: 5
63+
failureThreshold: 6
64+
strategy:
65+
type: RollingUpdate
66+
rollingUpdate:
67+
maxUnavailable: 0
68+
maxSurge: 1

0 commit comments

Comments
 (0)