Skip to content

Commit d0b7640

Browse files
Add startupProbe to StatefulSet
Adds a startup probe. Fixes #5
1 parent 0071f0a commit d0b7640

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

charts/part-db/templates/statefulset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ spec:
7171
ports:
7272
- name: http
7373
containerPort: 80
74+
startupProbe:
75+
tcpSocket:
76+
port: 80
77+
failureThreshold: 30
78+
periodSeconds: 10
7479
livenessProbe:
7580
httpGet:
7681
path: /

0 commit comments

Comments
 (0)