Debug stolon proxy

This commit is contained in:
Quentin 2021-03-07 18:29:56 +01:00
parent eb3f64df41
commit 255e3fd2d7

View file

@ -5,10 +5,8 @@ job "postgres" {
update { update {
max_parallel = 1 max_parallel = 1
health_check = "checks"
min_healthy_time = "2m" min_healthy_time = "2m"
healthy_deadline = "5m" healthy_deadline = "5m"
progress_deadline = "10m"
auto_revert = true auto_revert = true
} }
@ -51,8 +49,7 @@ job "postgres" {
"--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500", "--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500",
"--port", "${NOMAD_PORT_psql_proxy_port}", "--port", "${NOMAD_PORT_psql_proxy_port}",
"--listen-address", "0.0.0.0", "--listen-address", "0.0.0.0",
"--stop-listening", "false", "--log-level", "debug"
"--store-timeout", "120s"
] ]
ports = [ "psql_proxy_port" ] ports = [ "psql_proxy_port" ]
} }