From 10c04ba32bcf6526462fe7703831e781a29d560d Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 2 Nov 2026 14:05:14 +0500 Subject: [PATCH] =?UTF-8?q?uralkal:=20pg-tls=20=E2=80=94=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B1=D1=8B=20pg=5Fisready=20=D1=81=20-U=20notes=20(?= =?UTF-8?q?=D0=BF.31,=20INFRA-3062)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Без -U libpq ищет имя для UID 1001, которого нет в passwd вне nss-wrapper, pg_isready падает и liveness убивает под через 90 с. --- apps/postgres-tls-test/uralkal/postgresql.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/postgres-tls-test/uralkal/postgresql.yaml b/apps/postgres-tls-test/uralkal/postgresql.yaml index b66ec14..2235eb3 100644 --- a/apps/postgres-tls-test/uralkal/postgresql.yaml +++ b/apps/postgres-tls-test/uralkal/postgresql.yaml @@ -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