cloudrun instance fails tcp healthcheck #2844
-
Environment PostgreSQL version: 15
checked existing discussions and increased both Postgres and cloudrun cp/mem but no luck so far so any help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm not familiarized with Cloudrun, but if you can configure your Probes, you can use PostgREST's Health Check endpoint. You'll need to add the env to the Also check that the ports are correctly mapped, maybe Probe uses the mapped ports to check? |
Beta Was this translation helpful? Give feedback.
-
Thanks @laurenceisla , A firewall rule in my case was the culprit and as soon as that cleared I was able to query the service.but ...
Thanks again for the quick help, will go through the docs in case I missed something . |
Beta Was this translation helpful? Give feedback.
I'm not familiarized with Cloudrun, but if you can configure your Probes, you can use PostgREST's Health Check endpoint. You'll need to add the env to the
pgrest-1
container, e.g.PGRST_ADMIN_SERVER_PORT=3001
, then the ready check should be done to theready
endpoint, that islocalhost:3001/ready
(not the default port3000
).Also check that the ports are correctly mapped, maybe Probe uses the mapped ports to check?