Skip to content

Commit 9e9e349

Browse files
committed
Add readiness probe to prompt pub.
1 parent 2156e63 commit 9e9e349

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

applications/prompt-pub/templates/statefulset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ spec:
7171
value: "0"
7272
- name: AWS_REQUEST_CHECKSUM_CALCULATION
7373
value: WHEN_REQUIRED
74+
readinessProbe:
75+
tcpSocket:
76+
port: 5432
77+
initialDelaySeconds: 2
78+
periodSeconds: 5
7479
volumeMounts:
7580
- name: gcp-int-repo-config-volume
7681
mountPath: /opt/lsst/configs/gcp-repo-path

0 commit comments

Comments
 (0)