Skip to content

Commit

Permalink
liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
vincetse committed Feb 3, 2024
1 parent 8d762ed commit 4e30111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion developing/postgres/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.0
version: 0.2.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion developing/postgres/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
livenessProbe:
exec:
command:
- pg_isready
- pg_isready --username={{ .Values.postgres.user }} --hostname=127.0.0.1 --dbname={{ .Values.postgres.db }}
initialDelaySeconds: 120
periodSeconds: 30

Expand Down

0 comments on commit 4e30111

Please sign in to comment.