uralkal: pg-tls — пробы pg_isready с -U notes (п.31, INFRA-3062)

Без -U libpq ищет имя для UID 1001, которого нет в passwd вне nss-wrapper,
pg_isready падает и liveness убивает под через 90 с.
This commit is contained in:
ivan 2026-11-02 14:05:14 +05:00
parent 32e4bc657a
commit 10c04ba32b

View File

@ -67,7 +67,7 @@ spec:
command:
- /bin/sh
- -c
- exec pg_isready -h 127.0.0.1 -p 5432
- exec pg_isready -U notes -d notes -h 127.0.0.1 -p 5432
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
@ -77,7 +77,7 @@ spec:
command:
- /bin/sh
- -c
- exec pg_isready -h 127.0.0.1 -p 5432
- exec pg_isready -U notes -d notes -h 127.0.0.1 -p 5432
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5