thingsboard-ce-k8s icon indicating copy to clipboard operation
thingsboard-ce-k8s copied to clipboard

Postgres Error on High Availability

Open Fergas13 opened this issue 4 years ago • 0 comments

Hello,

I am still learning how kubernetes-minikube work. I tested the basic setup with Postgres and with Hybrid configuration and everything went smoothly.

I ended up with problems when i tried the High-Availability setup.

Specifically Postgres pgpool Pod keeps restarting and gives me this error (i saw it through the kubenetes dashboard).

"Readiness probe failed: psql: FATAL: failed to create a backend 0 connection DETAIL: not executing failover because failover_on_backend_error is off"

image image

.env settings: PLATFORM=minikube DEPLOYMENT_TYPE=high-availability DATABASE=hybrid CASSANDRA_REPLICATION_FACTOR=1 everything else is default

PS : All the tests i did was with the minikube configuration

Fergas13 avatar Jan 28 '21 18:01 Fergas13