Closed MatteoGioioso closed 2 years ago
I partially solved this by temporarily changing the pg_hba.conf
:
- local all all trust
- host all all 0.0.0.0/0 md5
- host all all 127.0.0.1/32 md5
- host all all ::0/0 md5
I am following those docs: https://www.pgpool.net/docs/42/en/html/example-kubernetes.html
However from the pgpool logs I am having this error:
I am using the postgres zalando operator at its latest version, your latest image: https://hub.docker.com/r/pgpool/pgpool, and my postgres version is 12.
This is my deployment manifest:
Those are the services that the operator expose:
If I port-forward directly to the replica service
svc/acid-minimal-cluster
and connect directly to postgres using that password and user it will work, however the same thing done via pgpool fails:kubectl port-forward svc/pgpool 9999:9999
export PGPASSWORD=....
psql -U postgres -h localhost -p 9999
sql: error: connection to server at "localhost" (::1), port 9999 failed:
Any clue on what is going wrong? Thanks.