nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit 1a5f417b221300953f9632e35c7c7ba16b8a9653
parent 21f78f79ba49240f4156488980e9787308361a36
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Tue, 19 Sep 2023 14:10:05 +0200

feat(hivedav): use healthz for svc check

Diffstat:
Mhcl/default/hivedav-demo/hivedav-demo.nomad | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/hcl/default/hivedav-demo/hivedav-demo.nomad b/hcl/default/hivedav-demo/hivedav-demo.nomad @@ -26,6 +26,12 @@ job "hivedav-demo" { service { port = "hivedav" tags = ["http", "hivedav"] + check { + type = "http" + interval = "10s" + timeout = "5s" + path = "/healthz" + } } service { port = "https"