Skip to content

Commit d64572c

Browse files
authored
Merge pull request #6 from XtremeOwnageDotCom/patch-1
Add StartupProbe - Resolve container rebooting
2 parents 0071f0a + d0b7640 commit d64572c

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)