diff options
Diffstat (limited to 'f3s/immich/helm-chart')
| -rw-r--r-- | f3s/immich/helm-chart/templates/postgres.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/f3s/immich/helm-chart/templates/postgres.yaml b/f3s/immich/helm-chart/templates/postgres.yaml index 61221d5..07c0510 100644 --- a/f3s/immich/helm-chart/templates/postgres.yaml +++ b/f3s/immich/helm-chart/templates/postgres.yaml @@ -66,7 +66,9 @@ spec: command: - /bin/sh - -c - - pg_isready -U immich -d immich + # pg_isready only checks the TCP port; the NFS check catches stale + # file handles on the data directory after an NFS server restart. + - pg_isready -U immich -d immich && test -f /var/lib/postgresql/data/global/pg_filenode.map initialDelaySeconds: 60 periodSeconds: 30 timeoutSeconds: 10 |
