Closed const-tmp closed 1 year ago
The difference between your test job and the patroni one is the executor.
I guess you have Consul running on the host, to the exec job localhost
points to the host loopback but to the docker job, localhost
points to the container loopback. If you're using Consul for DNS and Docker is configured for that, change your patroni template to look like this:
consul:
host: consul.service.consul
Patroni job spec
Error:
Consul is working, we can prove it with test job:
test job logs
What am I doing wrong?