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:
parent
32e4bc657a
commit
10c04ba32b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user