Skip to content
Snippets Groups Projects
Commit 74e38cf8 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

udate probes

parent cde6f336
No related branches found
No related tags found
No related merge requests found
......@@ -33,15 +33,27 @@ spec:
- containerPort: 5432
protocol: TCP
readinessProbe:
tcpSocket:
port: 5432
exec:
command:
- bash
- '-c'
- pg_isready
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 5
periodSeconds: 30
successThreshold: 1
failureThreshold: 6
livenessProbe:
tcpSocket:
port: 5432
exec:
command:
- bash
- '-c'
- pg_isready
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 5
periodSeconds: 30
successThreshold: 1
failureThreshold: 6
env:
- name: POSTGRES_DB
value: "${POSTGRES_DB}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment